6.1

CVE-2026-0540: cure53 dompurify Cross-site Scripting

CVSS: 6.1v3.1MediumModified
AliasesUBUNTU-CVE-2026-0540DEBIAN-CVE-2026-0540CGA-3jf7-rpf8-xm8h
Published 03-03-2026Last modified 25-03-2026

Vulnerability summary

CVE-2026-0540 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in cure53 dompurify. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 27.5% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.35%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 03-03-2026
    PublishedVulnerability first disclosed.
  2. 25-03-2026
    Last modifiedVulnerability information updated.

Description

DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in commit 2726c74, contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex. Attackers can include payloads like </noscript><img src=x onerror=alert(1)> in attribute values to execute JavaScript when sanitized output is placed inside these unprotected rawtext contexts.

CVSS metrics

11 scores · 7 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

+0.01 pp

From 0.34% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.35%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard90 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.5All versions (No fix recorded)
  • gitlab-rails-ce-18.6All versions (No fix recorded)
Wolfi15 products
  • langfuse-3< 3.160.0-r1
  • langfuse-3-worker< 3.160.0-r1
  • opensearch-dashboards-3< 3.5.0-r6
  • opensearch-dashboards-3-alerting-dashboards-plugin< 3.5.0-r6
  • opensearch-dashboards-3-anomaly-detection-dashboards-plugin< 3.5.0-r6
Cure531 product
  • dompurify≥ 2.5.3, ≤ 2.5.8 | ≥ 3.1.3, ≤ 3.3.1
Debian1 product
  • node-dompurifyAll versions (No fix recorded) | < 3.3.2+dfsg-1
Npm1 product
  • dompurify≥ 3.1.3, < 3.3.2 | ≥ 2.5.3, < 2.5.9
Opensuse1 product
  • cacti&distro=openSUSE Tumbleweed< 1.2.30+git306.82d5aef5-1.1
Ubuntu1 product
  • node-dompurifyAll versions (No fix recorded)

7 vendors · 110 products

References

12 links
Show all 12 references