CVEvulnerability

CVE-2025-66400

6.9 MEDIUM Published 2025-12-01 Modified 2026-10-18 Official page ↗
Status
Analyzed
Published
2025-12-01
Last modified
2026-10-18
Assigner
[email protected]
CVSS 4.0 ([email protected])
6.9 MEDIUM — 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
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-20, CWE-915

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 configurations

• unifiedjs mdast-util-to-hast (>= 13.0.0 < 13.2.1)

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness

References