Cross-site scripting in sanitize - #VU159536
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to execute JavaScript in a victim's browser when the victim views sanitized HTML.
The vulnerability exists due to inconsistent parsing after Sanitize removes template wrappers under non-default configurations allowing select and raw text elements while preserving template contents. An unauthenticated remote attacker can submit crafted HTML that bypasses sanitization and executes scripts when rendered by a victim's browser using legacy select parsing rules.