CVE-2026-116803GHSA-mrv2-3pqr-j5jr
DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees
cure53 DOMPurifynpmLibraries & packages
CVSS
5.1MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 3
- DOMPurifyaffected: all versions before 3.4.17CVE List
- DOMPurifyunaffected: 3.4.17CVE List
- dompurify, npmfrom first release, fixed in 3.4.17OSV