CVE-2026-75838
MEDIUM 5.1CVSS 4.0DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS
DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.
- Published
- 18 Aug 2026
- Last modified
- 22 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-79
- Also known as
- GHSA-55q2-fjhq-7xh7
- Sources
- NVDJSONOSV GHSA-55q2-fjhq-7xh7JSON
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:L/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:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | dompurify | < 3.4.13 | 3.4.13 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7 · WEB
- https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-hook
- https://github.com/cure53/DOMPurify/pull/1557 · WEB
- https://github.com/cure53/DOMPurify/commit/3067f7746769 · WEB
- https://github.com/cure53/DOMPurify · PACKAGE
- https://github.com/cure53/DOMPurify/releases/tag/3.4.13 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Aug 2026)