CVE-2026-116803
MEDIUM 5.1CVSS 4.0DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p)
DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.
- Published
- 27 Oct 2026
- Last modified
- 19 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-693CWE-79
- Also known as
- GHSA-mrv2-3pqr-j5jr
- Sources
- NVDJSONOSV GHSA-mrv2-3pqr-j5jrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | disclosure@vulncheck.com (Secondary) | 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 |
|---|---|---|---|---|
| OSV | npm | dompurify | < 3.4.17 | 3.4.17 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-mrv2-3pqr-j5jr · WEB
- https://www.vulncheck.com/advisories/dompurify-before-3.4.17-dom-xss-via-in-place-hook-detached-subtrees
- https://github.com/cure53/DOMPurify/pull/1672 · WEB
- https://github.com/cure53/DOMPurify/commit/a77a3e78b59f72fa4d1c83f22e121ad9cc7d3575 · WEB
- https://github.com/cure53/DOMPurify · PACKAGE
- https://github.com/cure53/DOMPurify/releases/tag/3.4.17 · WEB
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 27 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2026)