CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025

CVE-2025-66400
Unifiedjs Mdast-util-to-hast vulnerability

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

Mdast-util-to-hast. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Unifiedjs Mdast-util-to-hast runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.