6.9

CVE-2025-66400: syntax-tree mdast-util-to-hast Improper Input Validation

CVSS: 6.9v4.0MediumAnalyzed
AliasesCGA-32vx-m24g-ccchCGA-3q58-9hwp-5jpfCGA-4579-vqpr-rhpr
Published 01-12-2025Last modified 02-12-2025

Vulnerability summary

CVE-2025-66400 is a medium (CVSS 6.9) Improper Input Validation vulnerability in syntax-tree mdast-util-to-hast. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.8% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.30%
0%100%
Low · 0.00 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. 01-12-2025
    PublishedVulnerability first disclosed.
  2. 02-12-2025
    Last modifiedVulnerability information updated.

Description

mdast-util-to-hast is an mdast utility to transform to hast. From 13.0.0 to before 13.2.1, multiple (unprefixed) classnames could be added in markdown source by using character references. This could make rendered user supplied markdown code elements appear like the rest of the page. This vulnerability is fixed in 13.2.1.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

0.00 pp

From 0.30% on 20-09-2026

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

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

Chainguard15 products
  • drupal-11.3< 11.3.13-r3
  • keycloak-26.6< 26.6.4-r17
  • keycloak-26.6-iamguarded-compat< 26.6.4-r17
  • langfuse-2< 2.95.12-r2
  • langfuse-2-compat< 2.95.12-r2
Wolfi5 products
  • keycloak-26.6< 26.6.4-r17
  • keycloak-26.6-iamguarded-compat< 26.6.4-r17
  • langfuse-3< 3.137.0-r1
  • langfuse-3-compat< 3.137.0-r1
  • langfuse-3-worker< 3.137.0-r1
Npm1 product
  • mdast-util-to-hast≥ 13.0.0, < 13.2.1
Syntax-tree1 product
Unifiedjs1 product

5 vendors · 23 products

References

6 links