chore(security): bump postcss-selector-parser >=6.1.3 (GHSA-w9m9-85wc-3x92, alert #73) - #18
Open
benfrank241 wants to merge 1 commit into
Conversation
…5wc-3x92) Adds an npm `overrides` entry pinning postcss-selector-parser to ^6.1.3, resolving it 6.1.2 -> 6.1.4 and out of the vulnerable range (>=6.1.0 <6.1.3). The package is a transitive dev-scope dependency (tailwindcss, postcss-nested), so a direct bump is not possible. Both parents declare ^6.1.x, so a global override satisfies them and no scoped override is needed. Closes Dependabot alert #73 / GHSA-w9m9-85wc-3x92. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Sep 2, 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.
Security bundle — npm /
package-lock.json(repo root)Recreates the Dependabot fix on a human-authored branch so CI runs with repository secrets.
Alert closed
GHSA-w9m9-85wc-3x92postcss-selector-parserVulnerable range
>=6.1.0 <6.1.3— first patched6.1.3.Fix method —
overrides(not a direct bump)postcss-selector-parseris not a direct dependency; it is pulled in transitively bytailwindcss(^6.1.2) andpostcss-nested(^6.1.1), both dev-scope. A direct bump istherefore not available, so this adds an npm
overridesentry:Both declaring parents accept
^6.1.x, so a global override satisfies them — no scopedoverride needed, and no major-version bump (the 7.x line is deliberately avoided).
Lockfile regenerated with
npm install --package-lock-only. Resolved 6.1.2 → 6.1.4.The whole change is 5 added / 2 removed lines: one
overridesentry plus the single lockentry's
version/resolved/integrity. No unrelated lockfile churn.Verification
npm cinpm run buildnpm run lintnext build's lint phasenpm run testtestscript in this repo — skippednpm run buildfails on this branch — and fails identically on unmodifiedmain. Thefailure is a pre-existing ESLint gate in source files, entirely unrelated to dependencies:
Baseline and branch were built side by side; the normalized error/warning sets are
identical (2 errors, 4 warnings on both). The
Compiled successfullyphase passes onboth — only the lint gate fails.
To confirm the bump itself is behaviour-neutral, both sides were then built with the
pre-existing lint gate bypassed locally (a temporary, uncommitted
next.config.tsedit,reverted afterwards):
(
.next/static/css/aad988ea4aad36b6.css, 12974 bytes on both)Since
postcss-selector-parseris CSS tooling, identical CSS output is the meaningfulsignal here. The repo's only CI workflow is the GitLeaks secret scan, which is unaffected.
The pre-existing lint failure is reported separately in the backlog issue; it is not
introduced by this PR and is not treated as a blocker for this security fix.
Please review and merge — this branch is never merged automatically.