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.
References
Configurations
History
No history.
Information
Published : 2025-12-01 23:15
Updated : 2026-02-06 16:36
NVD link : CVE-2025-66400
Mitre link : CVE-2025-66400
CVE.ORG link : CVE-2025-66400
JSON object : View
Products Affected
unifiedjs
- mdast-util-to-hast
CWE
CWE-20
Improper Input Validation
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes
NVD-CWE-Other