Improper Neutralization of Special Elements Used in a Template Engine in DOMPurify - #VU169763

 

Improper Neutralization of Special Elements Used in a Template Engine in DOMPurify - #VU169763

Published: November 23, 2026


Vulnerability identifier: #VU169763
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

DOMPurify

Remediation

Install security update from vendor's website.

DOMPurify - update to 3.5.0

External References

Related Security Bulletins