CVE-2026-65913 Details
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.
A prototype pollution vulnerability has been identified in DOMPurify versions prior to 3.3.2, specifically in USE_PROFILES mode. This vulnerability allows attackers to bypass attribute filtering by manipulating Array.prototype properties. By setting certain properties, such as onclick, to true, attackers can trick DOMPurify into accepting event handlers as allowed attributes. When the sanitized markup is rendered, this can lead to DOM-based cross-site scripting (XSS) attacks.
Users can upgrade to DOMPurify version 3.3.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-cj63-jhhr-wcxv | [email protected] | Third Party Advisory |
| https://www.vulncheck.com/advisories/dompurify-before-prototype-pollution-via-use-profiles | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cure53 dompurify | < 3.3.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 28, 2026 | Initial Analysis | [email protected] |
| Jul 23, 2026 | New CVE Received | [email protected] |
| Jul 23, 2026 | CVE Modified | CISA-ADP |