Home › CVE › JavaScript
CVE-2026-144292 — cure53 DOMPurify
Summary
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.
Severity breakdown
High · 7.6
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality and integrity, low on availability
- Impact on other systems
- none
Weakness
- 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
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| cure53 DOMPurify | < 3.5.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- cure53 DOMPurify
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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 SAFEFORTEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-144292?
CVE-2026-144292 has a CVSS 4.0 base score of 7.6 (high), from the CNA (github.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-144292 being exploited?
Not as far as is known: CVE-2026-144292 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-144292?
cure53 DOMPurify < 3.5.0.
How do I fix CVE-2026-144292?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.