Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-66400
VULNERABILITY

CVE-2025-66400

Common Vulnerabilities and Exposures record

MEDIUM

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.

Risk

CVSS
6.9
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Dec 1, 2025 23:15
Modified
Oct 18, 2026 18:10
Last observed
Oct 20, 2026 20:38

CWE

CWE-20CWE-915

Affected product identifiers

cpe:2.3:a:unifiedjs:mdast-util-to-hast:*:*:*:*:*:node.js:*:*

References