You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sec-check] docs: dev-tree markdown-it 15.0.2 quadratic-time DoS advisories (GHSA-gfr2-rv44-r23c, GHSA-vfgh-jcmw-g37q) — raise override floor to 15.0.3 #406
npm audit on main (b2b5ad4) reports two new advisories against [email protected], pulled into the dev tree via [email protected] (which pins markdown-it: 15.0.1; the existing overrides["markdown-it"] = ">=14.1.1" floor no longer excludes the affected range):
GHSA-gfr2-rv44-r23c — Quadratic-time rendering of a single multi-line link reference definition with default options (CVSS 7.5, CWE-400/407), affects >=15.0.0 <15.0.3
GHSA-vfgh-jcmw-g37q — Quadratic-time DoS in inline HTML parsing with html enabled (CVSS 3.7), affects >=15.0.0 <15.0.3
These are dev-only (npm audit --omit=dev is unaffected, so the npm-audit.yml gate stays green), which is why severity is low. The only consumer is npm run lint:md, which runs markdownlint over README.md, CONTRIBUTING.md, docs/** and src/** markdown — including content submitted in pull requests — so a crafted PR markdown file could stall the lint job until its timeout.
Impact
CI/dev-time denial of service only: a PR carrying a pathological link-reference definition can make the markdownlint step spin quadratically. No runtime or published-site exposure (the site renders MDX via Nextra, not markdown-it).
Recommendation
Same pattern as #133: raise the existing overrides["markdown-it"] floor in package.json from >=14.1.1 to >=15.0.3 and regenerate package-lock.json. Verified locally: lockfile resolves node_modules/markdown-it to 15.0.3, npm audit no longer lists either advisory (remaining entries are the acknowledged GHSA-vfj7-8cjw-p6xmbraces chain), and npm run lint:md passes (75 files, 0 issues).
overrides["markdown-it"] ≥ 15.0.3 and lockfile regenerated
Activity