Cross-site scripting in HTML Sanitizer - CVE-2026-47344
Published: June 9, 2026
HTML Sanitizer
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary script code in a victim's browser.
The vulnerability exists due to cross-site scripting in the HTML sanitizer raw text handling when processing sanitized content with whitespace-variant closing tags while the ALLOW_INSECURE_RAW_TEXT option is enabled. A remote attacker can supply crafted input to execute arbitrary script code in a victim's browser.
Only configurations with the ALLOW_INSECURE_RAW_TEXT option enabled are vulnerable.