What’s Vulnerable › Vulnerabilities
CVE-2026-65914: DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-23 · updated 2026-10-24
- Weakness: CWE-79
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.
Affected products
- cure53 DOMPurify: before 3.3.2 — fixed in 3.3.2
How to fix
Upgrade to a fixed version: cure53 DOMPurify 3.3.2. Check the vendor advisory for mitigations.
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2
- https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualization
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2
Get alerted when CVE-2026-65914 or the next vulnerability affects your stack