Cross-site scripting in DOMPurify - #VU132356
Published: May 27, 2026
DOMPurify
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary script code in the victim's browser.
The vulnerability exists due to improper neutralization of script-related html attributes in the in_place mode root element handling when sanitizing attacker-controlled root dom content. A remote attacker can supply a crafted root element whose clobbered attributes are preserved to execute arbitrary script code in the victim's browser.
User interaction is required to load or process the crafted content.