Skip to content

🔒 fix(deps): override katex to 0.18.2 in the docs lint toolchain - #462

Merged
konih merged 1 commit into
mainfrom
fix/sec-katex-0.18.2
Oct 14, 2026
Merged

konih merged 1 commit into
mainfrom
fix/sec-katex-0.18.2

Conversation

@konih

@konih konih commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Clears Dependabot alert #60 (GHSA-238p-pmpm-9mq7, low).

katex arrives via markdownlint-cli2 → markdownlint → micromark-extension-math (latest 3.1.0 still declares katex ^0.16.0, so no upstream bump exists). markdownlint only imports the math syntax extension; katex is required solely from lib/html.js, which markdownlint never loads, so overriding to 0.18.2 cannot change lint behaviour. Follows the existing js-yaml / smol-toml overrides.

Local: task lint:markdown green; npm audit no longer lists katex (braces GHSA-vfj7-8cjw-p6xm remains, no fix published upstream).

Clears GHSA-238p-pmpm-9mq7 (Dependabot #60). markdownlint pulls katex
through micromark-extension-math, whose latest release still asks for
^0.16.0; markdownlint imports only the math syntax extension, never
lib/html.js where katex is used, so the override cannot change lint
behaviour. Same pattern as the existing js-yaml and smol-toml overrides.
@konih
konih force-pushed the fix/sec-katex-0.18.2 branch from 683f0dd to 9c821da Compare October 14, 2026 10:33
@konih
konih merged commit 0c1456b into main Oct 14, 2026
35 checks passed
@konih
konih deleted the fix/sec-katex-0.18.2 branch October 14, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant