npm package reportIs mdast-util-to-hast safe ? 1 known vulnerability, worst severity MODERATE.
// reach 0 direct dependencies
none carry a known advisory
15 packages depend on it
an advisory here reaches each of them
// ai model usage Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
cvss CVSS v3.1 base score out of 10
epss chance of exploitation in 30 days, 26th percentile of all CVEs
xyz score CyberXYZ composite out of 10
fig. 01 — GHSA-4fh9-h7wg-q85m, the advisory selected below
// 1 advisories GHSA-4fh9-h7wg-q85m Multiple (unprefixed) classnames could be added in markdown source by using character references. MODE // impact 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. The following markdown:
Would create <pre><code class="language-js xss"></code></pre> If your page then applied .xss classes (or listeners in JS), those apply to this element. For more info see <https://github.com/ChALkeR/notes/blob/master/Improper-markup-sanitization.md#unsanitized-class-attribute >
// patches The bug was patched. When using regular semver, run npm install. For exact ranges, make sure to use 13.2.1.
// workarounds Update.
// references // cvss v3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity Low
Availability None Checked 2026-11-07 at 18:04 UTC. The most recent advisory here was published 2025-12-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.
Think a verdict here is wrong? Tell us — we respond within 2 business days. Report an issue with this page