Improper Neutralization of Special Elements Used in a Template Engine in DOMPurify - #VU169763
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in the affected page's origin.
The vulnerability exists due to incomplete neutralization of template expressions in DOMPurify's SAFE_FOR_TEMPLATES feature when reparsing sanitized markup changes how text around nested forms is joined. A remote attacker can submit crafted markup that a client-side template engine evaluates after reparsing to execute JavaScript in a victim's browser.