CVE-2026-65913
Undergoing Analysis Undergoing Analysis - In Progress

DOM-based XSS via Prototype Pollution in DOMPurify

Vulnerability report for CVE-2026-65913, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-23
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
cure53 dompurify to 3.3.2 (exc)
dompurify dompurify to 3.3.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1321 The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

DOMPurify before version 3.3.2 has a prototype pollution vulnerability in USE_PROFILES mode. Attackers can pollute Array.prototype properties like setting onclick to true. This bypasses attribute filtering, causing DOMPurify to accept event handlers as allowlisted attributes. When sanitized markup is rendered, this results in DOM-based XSS.

Detection Guidance

To detect this vulnerability, check the installed version of DOMPurify. If your system uses versions 3.3.1 or earlier with USE_PROFILES enabled, it is vulnerable. Run: npm list dompurify or grep dompurify package.json to verify the version.

Impact Analysis

This vulnerability allows attackers to inject malicious event handlers like onclick into sanitized HTML. When the sanitized content is rendered, these event handlers execute, leading to DOM-based XSS attacks. This can compromise user sessions, steal data, or perform unauthorized actions on behalf of users.

Compliance Impact

This vulnerability could lead to unauthorized data access or manipulation, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements. Organizations using vulnerable DOMPurify versions may face compliance breaches if exploited, potentially resulting in legal penalties or data breach notifications.

Mitigation Strategies

Upgrade DOMPurify to version 3.3.2 or later immediately. If upgrading is not possible, disable the USE_PROFILES option in your DOMPurify configuration to prevent prototype pollution attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-65913. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart