6.8

CVE-2026-41239: DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode

Deferred
AliasesUBUNTU-CVE-2026-41239DEBIAN-CVE-2026-41239CGA-2j53-v6x9-7hv9
Published 23-04-2026Last modified 25-04-2026

Vulnerability summary

CVE-2026-41239 is a medium (CVSS 6.8) vulnerability in cure53 dompurify. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.5% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.26%
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. 25-04-2026
    Last modifiedVulnerability information updated.

Description

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Starting in version 1.0.10 and prior to version 3.4.0, `SAFE_FOR_TEMPLATES` strips `{{...}}` expressions from untrusted HTML. This works in string mode but not with `RETURN_DOM` or `RETURN_DOM_FRAGMENT`, allowing XSS via template-evaluating frameworks like Vue 2. Version 3.4.0 patches the issue.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.25% 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≥ 1.0.10, < 3.4.0
Ubuntu1 product
  • node-dompurifyAll versions (No fix recorded)

6 vendors · 41 products

References

8 links