CVE-2026-41238
MEDIUM EPSS 10.6%
Published Apr 23, 20262mo ago · Modified Jun 17, 20262w ago
6.9 CVSS 3.1
Published Apr 23, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago
Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions 3.0.1 through 3.3.3 are vulnerable to a prototype pollution-based XSS bypass. When an application uses `DOMPurify.sanitize()` with the default configuration (no `CUSTOM_ELEMENT_HANDLING` option), a prior prototype pollution gadget can inject permissive `tagNameCheck` and `attributeNameCheck` regex values into `Object.prototype`, causing DOMPurify to allow arbitrary custom elements with arbitrary attributes — including event handlers — through sanitization. Version 3.4.0 fixes the issue.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality High
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
10.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-1321
CWE-79 Cross-site Scripting Injection
References 2
- github.com https://github.com/cure53/DOMPurify/releases/tag/3.4.0
- github.com https://github.com/cure53/DOMPurify/security/advisories/GHSA-v9jr-rg53-9pgp
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.