Repository navigation
Conversation
I require KaTeX 0.18.2 or newer for micromark-extension-math to address CVE-2026-103923. The lockfile resolves KaTeX 0.18.10 and its Commander dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d4fe4c6-b821-4449-99ea-80cd44d5b8f8 Signed-off-by: Zack Koppert <zkoppert@github.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The override exceeds the parent dependency’s declared KaTeX compatibility range, so human confirmation is needed despite the reported validation.
No open issues 🎉
What changed in this PR
Updates development-only Markdown tooling dependencies to address CVE-2026-103923 in KaTeX.
Changes:
- Adds a KaTeX override scoped to
micromark-extension-math. - Locks KaTeX to 0.18.10 and Commander to 15.0.0, requiring Node.js 22.12.0 or later.
| File | Description |
|---|---|
| package.json | Adds the scoped KaTeX override. |
| package-lock.json | Records updated KaTeX and Commander dependencies. |
Review effort: Max
zkoppert
marked this pull request as ready for review
October 20, 2026 02:14
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.
Why
I upgraded the single affected dependency to KaTeX 0.18.10, above the patched minimum of 0.18.2.
What changed
I added an npm override scoped to
micromark-extension-mathand regenerated the lockfile. The update also moves KaTeX's Commander dependency to 15.0.0, which requires Node.js 22.12.0 or later.Tradeoffs
I chose a scoped override because
micromark-extension-mathstill requires KaTeX^0.16.0. I kept unrelated dependency updates outside this fix.Testing
I verified the fix locally on Node.js 26.8.2 with clean dependency installs and real KaTeX and micromark rendering.
Rollout
The dependency is development-only, so no application rollout or feature flag is needed.
I'll watch the
CIworkflow for dependency installation or Markdown tooling regressions. After merge, I'll check whether Dependabot closes the affected alert.