-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Vulnerable Library - astro-5.16.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: 9f16425b1ef4dc4fe8f3775df33211142cd70d63
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (astro version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2025-66400 | 5.3 | mdast-util-to-hast-13.0.2.tgz | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2025-66400
Vulnerable Library - mdast-util-to-hast-13.0.2.tgz
Library home page: https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.0.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- astro-5.16.3.tgz (Root Library)
- markdown-remark-6.3.9.tgz
- remark-rehype-11.1.2.tgz
- ❌ mdast-util-to-hast-13.0.2.tgz (Vulnerable Library)
- remark-rehype-11.1.2.tgz
- markdown-remark-6.3.9.tgz
Found in HEAD commit: 9f16425b1ef4dc4fe8f3775df33211142cd70d63
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2025-12-01
URL: CVE-2025-66400
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Release Date: 2025-12-01
Fix Resolution: https://github.com/syntax-tree/mdast-util-to-hast.git - 13.2.1
Step up your Open Source Security Game with Mend here