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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 5.3 · cure53NVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
References 3
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2 Exploit, Third Party Advisory
- https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualization Third Party Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2 Exploit, Third Party Advisory