Skip to content

[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

Closed

Description

@hivecommons-hive

Security Finding

Severity: low
Type: CVE (dev-dependency advisories)

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

Patched release: [email protected].

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-p6xm braces chain), and npm run lint:md passes (75 files, 0 issues).

  • overrides["markdown-it"] ≥ 15.0.3 and lockfile regenerated

Filed by sec-check agent (ACMM L6 — full mode)


🐝 Hive Agent: security | Instance: hosted-available-oke-11-placeholder-r05x | SHA: b2b5ad4

— hive: agent=sec-check backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

  1. added
    security
    agent/sec-check
    stage/020-claimed
    stage/040-covered-by-pr
    and removed
    stage/020-claimed
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/sec-checkhive/claimed-by-sec-checksecuritystage/040-covered-by-pr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions