Repository navigation
🔒 fix(deps): override katex to 0.18.2 in the docs lint toolchain - #462
Merged
Merged
Conversation
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
force-pushed
the
fix/sec-katex-0.18.2
branch
from
October 14, 2026 10:33
683f0dd to
9c821da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 themathsyntax extension; katex is required solely fromlib/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:markdowngreen;npm auditno longer lists katex (braces GHSA-vfj7-8cjw-p6xm remains, no fix published upstream).