Repository navigation
fix(deps): patch vulnerable re2js and selector parser - #61
Merged
Merged
Conversation
The lint and Tailwind toolchains pinned re2js 2.8.6 and postcss-selector-parser 6.0.10, both open to CPU-exhaustion denial of service (GHSA-gg6h-894w-4m9c, GHSA-rj75-hqrm-r3gf). Their parents pin exact versions, so an in-range refresh cannot move them. Key changes: - Override re2js to 2.8.7 under markdownlint only - Override postcss-selector-parser to 6.1.5 under @tailwindcss/typography only, staying in the 6.x major it expects minimatch and katex stay open: their fixes need a major (minimatch 11, katex 0.18) that no released parent accepts yet.
andrewb3000
approved these changes
Nov 10, 2026
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.
The site's lint and Tailwind tooling pulled in two packages open to denial of service: re2js (high) and postcss-selector-parser (medium). A crafted pattern or selector could pin a CPU on a developer machine or CI runner. This change forces the patched versions under those two parents only, clearing two of the four open Dependabot alerts with no change to the built site.
Left open
Details
These are vulnerability fixes, so they skip the 7-day publish wait.
Both parents pin an exact vulnerable version, so an in-range refresh could not move them. Each override is scoped to its parent, not global. The selector parser stays on the 6.x line the Tailwind plugin expects, and its 7.x copies elsewhere are already past that line's fix. The lock file changes only these two entries.
Install, lint and build pass locally on Node 24. CI runs Node 26.
Note
This overlaps #46 and #48, which also add a dependency override block in the same place. Whichever merges second needs a small merge of that block.