DOMPurify before 3.4.18 contains a SAFE_FOR_TEMPLATES bypass that allows attackers to smuggle template expressions past sanitization using nested form elements or orphaned end tags. When the sanitized output is reparsed via innerHTML, split braces merge into live {{...}} expressions that Vue or AngularJS evaluate, executing attacker JavaScript in victims' browsers.
References
Configurations
No configuration.
History
01 Dec 2026, 22:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/cure53/DOMPurify/security/advisories/GHSA-qm7q-q8h9-jg8q - |
01 Dec 2026, 15:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-01 15:18
Updated : 2026-12-01 22:18
NVD link : CVE-2026-140391
Mitre link : CVE-2026-140391
CVE.ORG link : CVE-2026-140391
JSON object : View
Products Affected
No product.
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
