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] smol-toml 1.8.0 pinned via markdownlint-cli2 — GHSA-r4xh-jqrq-34v2 (quadratic parse), fix via overrides #306
package-lock.json resolves smol-toml to 1.8.0, which is in the vulnerable range of GHSA-r4xh-jqrq-34v2 ("Quadratic-time parse() from parseKey rescanning to end of document on each key line", published 2026-10-05, medium). It is a transitive, dev-only dependency: [email protected] pins smol-tomlexactly to 1.8.0, so the patched release (1.9.0+, currently 1.9.1) is not reachable by a plain npm update.
The npm audit CI gate runs with --omit=dev --level=high, so this advisory is invisible to CI and will keep appearing in local npm audit runs (currently the only moderate entry) until it is addressed.
Impact
Low. smol-toml is only used by markdownlint-cli2 to read .markdownlint-cli2.toml-style config files during npm run lint:md; the docs site does not parse TOML at build or runtime, and the config input is repository-controlled. The exposure is a CPU-exhaustion DoS of the lint step from a crafted config file — effectively only reachable by someone who can already commit to the repo.
Recommendation
Add a package.jsonoverrides entry — the same mechanism this repo already uses for brace-expansion, dompurify, lodash-es, katex, etc.:
"smol-toml": ">=1.9.0"
and regenerate the lockfile. Verified locally: lockfile resolves to [email protected], npm run lint:md passes (76 files, 0 issues), npm audit moderate count drops 1 → 0. No change to the remaining braces advisory, which has no patched release and is already acknowledged in .github/npm-audit-exceptions.json.
Activity