CVE-2026-144292

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.5.0, DOMPurify.sanitize() with SAFE_FOR_TEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. A template engine that compiles the reparsed DOM can evaluate the reconstructed expression, allowing arbitrary JavaScript execution in the page origin. Plain unsplit template expressions remain scrubbed, and exploitation requires the sanitized output to be reparsed and compiled by a template engine. This issue is fixed in version 3.5.0.
CVSS

No CVSS.

Configurations

No configuration.

History

03 Dec 2026, 21:18

Type Values Removed Values Added
References () https://github.com/cure53/DOMPurify/security/advisories/GHSA-hrxw-jjj6-2g2j - () https://github.com/cure53/DOMPurify/security/advisories/GHSA-hrxw-jjj6-2g2j -

03 Dec 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-03 18:17

Updated : 2026-12-03 21:18


NVD link : CVE-2026-144292

Mitre link : CVE-2026-144292

CVE.ORG link : CVE-2026-144292


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-1336

Improper Neutralization of Special Elements Used in a Template Engine