CVE-2026-65913

MEDIUM

DOMPurify before 3.3.2 Prototype Pollution via USE_PROFILES

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-cj63-jhhr-wcxv)
https://github.com/cure53/DOMPurify/security/advisories/GHSA-cj63-jhhr-wcxv
Third Party Advisory third-party-advisory
VulnCheck Advisory: DOMPurify before 3.3.2 Prototype Pollution via USE_PROFILES
https://www.vulncheck.com/advisories/dompurify-before-prototype-pollution-via-use-profiles

Scores

CVSS v3 6.1
EPSS 0.0019
EPSS Percentile 8.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-1321
Status published
Products (4)
cure53/DOMPurify < 3.3.2
cure53/dompurify < 3.3.2
cure53/DOMPurify 3.3.2
npm/dompurify 0 - 3.3.2npm
Published Jul 23, 2026
Tracked Since Jul 23, 2026