Vulnerability

CVE-2025-66400

mediumCVSS 4.0 6.9Published 1 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Unifiedjs mdast-util-to-hast

Weakness type

References

  • github.com /syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5…
  • github.com /syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efe…
  • github.com /syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4f…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning