DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts attacker-controlled nodeName on live non-form nodes. Attackers can supply hostile live DOM objects with real script children whose observable nodeName is clobbered to appear as allowed elements, causing scripts to execute when the sanitized tree is inserted into a live document.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 5.1 · cure53NVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
References 3
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-x4vx-rjvf-j5p4 Exploit, Third Party Advisory
- https://www.vulncheck.com/advisories/dompurify-cross-site-scripting-via-in-place-nodename Third Party Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-x4vx-rjvf-j5p4 Exploit, Third Party Advisory