CVE-2026-65914
DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization
MEDIUM 5.3EPSS 0.3%
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
- cure53 · DOMPurify
- CVSS v4.0 VULNCHECK
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v4.0 GitHub
- 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS
- 0.31% chance of exploitation in the next 30 days, 22nd percentile
- Published
- 2026-07-23
Proof-of-concept exploits (1)
Security advisories
- cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2
- https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualizati…