CVE-2026-65914
MEDIUM 5.3CVSS 4.0DOMPurify is vulnerable to mutation-XSS via Re-Contextualization
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.
- Published
- 23 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-h8r8-wccr-v5f2
- Sources
- NVDJSONOSV GHSA-h8r8-wccr-v5f2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cure53 | dompurifycpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:* |
< 3.3.2 | 3.3.2 |
| OSV | npm | dompurify | < 3.3.2 | 3.3.2 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h8r8-wccr-v5f2 · Exploit, Third Party Advisory, WEB
- https://www.vulncheck.com/advisories/dompurify-before-mutation-xss-via-re-contextualization · Third Party Advisory
- https://github.com/cure53/DOMPurify · PACKAGE
- https://github.com/cure53/DOMPurify/releases/tag/3.3.2 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Mar 2026)