Improper Handling of Case Sensitivity in Loofah - #VU159822
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to expose a viewer's IP address, user agent, and referrer through attacker-directed requests.
The vulnerability exists due to incomplete local-reference checks for SVG textPath and mpath elements in Loofah's default allowlist, also reused by rails-html-sanitizer when SVG is permitted. An unauthenticated remote attacker can submit SVG containing external references that survive sanitization and trigger requests to attacker-chosen URLs, including viewer-network hosts, when a victim views the content in Firefox.