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,…
Medium CVSS 6.1
Summary
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.
In-depth triage · Auto channel
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Affected products
- :
Sources
- NVD DATABASE
Original Links
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2 Exploit
- 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
Timeline
- nvd_ingest NVD