CVEscure53CVE-2026-116803Published Oct 26, 23:05 · Updated Oct 31, 02:06 UTC
6.1
MediumCVSS 3.1 · from VulnCheck
CVE-2026-116803

DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees

DOMPurify · Cross-site scripting · CWE-79
AffectedDOMPurify
FixUpdate to 3.4.17 or newer
PublishedOct 26, 23:05 · VulnCheck
ScoredOct 26 · 6.1 · VulnCheck
Exploit code publicNone known · checked 22:18 UTC
ExploitedNone known · CISA KEV checked 22:30 UTC

What we know

No known exploitation. CISA KEV, checked 22:30 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 22:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
Someone has to open, click or run something first. CVSS: user interaction required.

Description

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inDOMPurifybefore 3.4.173.4.17DOMPurifyNot affected3.4.17

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

GitHub Security Advisory (GHSA-mrv2-3pqr-j5jr) · github.comvendor advisoryVulnCheck Advisory: DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees · vulncheck.comthird party advisory

Other CVEs in DOMPurify

All 31 →
6.1DOMPurify from 3.4.4 before 3.4.17 SAFE_FOR_TEMPLATES Bypass via Shadow Root Content · CVE-2026-116804Oct 266.1DOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML Mode · CVE-2026-116802Oct 266.1DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root · CVE-2026-109345Oct 12