CVE-2026-65914
DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jul 23, 2026
- Updated
- Jul 23, 2026
- Reserved
- Jul 23, 2026
Description
DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
DOMPurifycure53 |
|
References
- GitHub Security Advisory (GHSA-h8r8-wccr-v5f2)vendor-advisory
- VulnCheck Advisory: DOMPurify before 3.3.2 Mutation XSS via Re-Contextualizationthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.