← Back to CVE search

CVE-2026-65913

DOMPurify

Description

DOMPurify before 3.3.2 contains a prototype pollution vulnerability in USE_PROFILES mode that allows attackers to bypass attribute filtering by polluting Array.prototype properties. Attackers can set Array.prototype properties like onclick to true, causing DOMPurify to accept event handlers as allowlisted attributes and resulting in DOM-based XSS when sanitized markup is rendered.

CVSS 6.1EPSS 0.185%Risk 0.62
View source
Published
2026-07-23 14:18:06
Affected versions
<3.3.2
Type
Library
Last modified
2026-07-28 15:50:09
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N