Skip to main content
← All vulnerabilities
CVE-2025-66400GHSA-4FH9-H7WG-Q85M

mdast-util-to-hast unsanitized class attribute

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • syntax-tree mdast-util-to-hast

    From 13.0.0 · fixed in 13.2.1

  • mdast-util-to-hastnpm

    From 13.0.0 · fixed in 13.2.1

References 3

GitHub · syntax-tree/mdast-util-to-hast