๐Ÿ›ก๏ธ CVE-2026-41238
๐ŸŸก CVSS 6.9 โ€” Medium โœ… No Known Exploit CWE-1321 NVD
6.9
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity Medium
CVSS Score 6.9
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
CWE CWE-1321
Public Exploit โœ… No
Source NVD
Published 2026-04-22
Updated 2026-06-02
Modified 2026-05-05
Fix URL N/A

Affected Packages

Software From version Fixed in
dompurify โ€” โ€”
unknown โ€” โ€”

Similar Threats

Patch Gap Protection

Running software with known vulnerabilities?

BotEraser can help reduce exposure by blocking IPs associated with exploit activity โ€” even before a patch is available.

Start Free โ†’

No credit card required  ยท  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.