Cross-Site Scripting Vulnerability in DOMPurify by Cure53
CVE-2026-65901
5.1MEDIUM
What is CVE-2026-65901?
DOMPurify version 3.4.6 is susceptible to a cross-site scripting vulnerability in its IN_PLACE mode, where it inaccurately trusts the nodeName of attacker-controlled live non-form nodes. This flaw enables attackers to inject malicious live DOM objects containing actual script children. When such a script is inserted into a live document, the observable nodeName can be manipulated to mimic permitted elements, leading to unintended script execution. Proper sanitization measures should be implemented to safeguard against potential exploitation.
Affected Version(s)
DOMPurify 0 <= 3.4.6
