#VU126318 Prototype pollution in DOMPurify
Published: April 16, 2026
DOMPurify
Cure53
Description
The vulnerability allows a remote attacker to execute arbitrary script code in the victim's browser.
The vulnerability exists due to prototype pollution in the USE_PROFILES attribute allowlist handling in DOMPurify when sanitizing markup with USE_PROFILES enabled in a runtime affected by Array.prototype pollution. A remote attacker can set a polluted Array.prototype property such as onclick or rely on an already polluted runtime to cause dangerous event handler attributes to be preserved and execute when rendered.
The issue affects cases where sanitized output is later added to the DOM.