Prototype Pollution Vulnerability in DOMPurify Affects Developers Using This Library
CVE-2026-65913

5.1MEDIUM

Key Information:

Vendor

Cure53

Status
Vendor
CVE Published:
23 July 2026

What is CVE-2026-65913?

DOMPurify versions earlier than 3.3.2 possess a prototype pollution vulnerability within the USE_PROFILES mode. This flaw allows attackers to manipulate Array.prototype properties, such as setting onclick to true. Consequently, this manipulation enables the acceptance of event handlers as allowed attributes during the sanitization process, potentially leading to DOM-based cross-site scripting (XSS) when rendered. Developers using DOMPurify must upgrade to version 3.3.2 or later to mitigate this vulnerability and ensure the security of their web applications.

Affected Version(s)

DOMPurify 0 < 3.3.2

DOMPurify 3.3.2

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

christos-eth
.