NetSight
medium6.1

CVE-2026-65901

DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objects

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmdompurify<= 3.4.6none recorded

Affected products

VendorProductAffected versions
Cure53Dompurify
before 3.4.7

Weakness classification

References