Cross-site scripting in Loofah - CVE-2026-73490
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to execute scripts in the context of a sanitized document viewed by a victim.
The vulnerability exists due to Loofah's HTML5 sanitizer applying local-reference restrictions to SVG xlink:href but not href when sanitizing user-supplied SVG with its default allowlist. An unauthenticated remote attacker can submit an SVG use element referencing a same-origin external SVG containing scripts, potentially causing execution when the victim views the sanitized content.