CVE Explorer
CVE-2025-66400
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-915","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"mdast-util-to-hast","vendor":"syntax-tree","versions":[{"status":"affected","version":">= 13.0.0, < 13.2.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-915","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5a68e7f3f21411dde7403","tags":["x_refsource_MISC"],"url":"https://github.com/syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5a68e7f3f21411dde7403"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/references/1
{"name":"https://github.com/syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efef5d4a0cd9b5caafbc5d7","tags":["x_refsource_MISC"],"url":"https://github.com/syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efef5d4a0cd9b5caafbc5d7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/references/2
{"name":"https://github.com/syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4fh9-h7wg-q85m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4fh9-h7wg-q85m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e014dea53b6c690c98f43c8363d7c3e32678ffce90ea903233e24b6fb13da73 · sha256:a47b837899d698b4… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.