6.9

CVE-2026-41238: DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback

Deferred
AliasesUBUNTU-CVE-2026-41238DEBIAN-CVE-2026-41238CGA-5428-5wcm-3wrc
Published 23-04-2026Last modified 23-04-2026

Vulnerability summary

CVE-2026-41238 is a medium (CVSS 6.9) vulnerability in cure53 dompurify. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 23-04-2026
    PublishedVulnerability first disclosed.
  2. 23-04-2026
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard35 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
Wolfi2 products
  • nextcloud-server-33< 33.0.6-r0
  • opensearch-dashboards-3< 3.6.0-r3
Cure531 product
Debian1 product
  • node-dompurifyAll versions (No fix recorded) | < 3.4.1+dfsg-1
Npm1 product
  • dompurify≥ 3.0.1, < 3.4.0
Ubuntu1 product
  • node-dompurifyAll versions (No fix recorded)

6 vendors · 41 products

References

8 links