chore(deps): patch 13 Dependabot advisories via pnpm overrides - #1180
Merged
Conversation
Bumps postcss to 8.5.26 and adds/raises overrides for mermaid, nanoid, fflate, dompurify, and @xmldom/xmldom. qs is left alone: the only patched release (6.16.0) was published 2026-08-29 and is still inside the repo's 7-day minimumReleaseAge window. It ages out 2026-09-05. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
teallarson
marked this pull request as ready for review
September 4, 2026 19:03
teallarson
enabled auto-merge (squash)
September 8, 2026 13:56
kamath
reviewed
Sep 8, 2026
| postcss: ">=8.5.15" | ||
| # rule-engine pulls a vulnerable @xmldom/xmldom (XML injection / uncontrolled recursion) | ||
| "@xmldom/xmldom": ">=0.9.10" | ||
| # Force next's transitive postcss to the same safe version as the direct dep. 8.5.23 fixes the sourceMappingURL arbitrary .map file read (GHSA-6g55-p6wh-862q follow-up). Capped below 8.5.27 because later releases are still inside the 7-day minimumReleaseAge window above; raise the cap once they age out. |
There was a problem hiding this comment.
Idk if this is good practice? Pinning a highest version feels wrong, what happens if we just wait three days to avoid the 7-day window? Or we can come back in three days to remove the cap
Contributor
Author
There was a problem hiding this comment.
I pinned to an exact version.
But also open to just waiting two more days.
Replace the patch-level semver cap with an exact pin matching package.json, consistent with other overrides like esbuild and form-data. Co-authored-by: Cursor <cursoragent@cursor.com>
evantahler
approved these changes
Sep 8, 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.
Closes 13 of the 15 open Dependabot alerts on this repo.
Changes
postcss(direct + transitive)mermaidnanoiddompurifyfflate@xmldom/xmldomAll six are pinned through
pnpm-workspace.yamloverrides (matching the existing pattern in that file), with caps that stay inside each consumer's declared range.postcssis also bumped as a direct dependency inpackage.json.Not fixed:
qs(#259, #258)The only patched release is
qs@6.16.0, published 2026-08-29. This repo setsminimumReleaseAge: 10080(7 days) to guard against supply-chain attacks, and 6.16.0 does not clear that window until 2026-09-05. Adding the override now would mean pulling a package the repo's own policy says to wait on, so it's left for a follow-up tomorrow.postcssis capped at<8.5.27for the same reason — 8.5.27 and 8.5.28 both shipped 2026-09-03. 8.5.26 is well past the 8.5.23 fix.Verification
pnpm installcleanpnpm buildsucceedspnpm test— 875 tests across 69 files pass🤖 Generated with Claude Code
Note
Low Risk
Changes are dependency and lockfile-only security patches with version caps inside consumer semver ranges; no auth or business logic is modified.
Overview
Addresses 13 open Dependabot alerts by tightening
pnpm-workspace.yamloverrides and refreshing the lockfile, with no application source changes.Direct bump:
postcssinpackage.jsongoes from 8.5.15 → 8.5.26, with the override pinned to that version (not a range) so it aligns with Next’s transitive PostCSS while staying outside the repo’s 7-dayminimumReleaseAgewindow for newer 8.5.27+ releases.New or raised override floors force patched transitive versions:
mermaid(11.17.2),nanoid,fflate, stricterdompurifyand@xmldom/xmldom, plus the existingpostcssalignment. Comments in the workspace file document which CVEs/GHSAs each floor targets.The lockfile reflects the cascade (e.g. Mermaid parser/cytoscape/katex bumps, removal of deprecated
@xmldom/xmldom@0.9.10).qsadvisories are intentionally left for a follow-up once a patched release clearsminimumReleaseAge.Reviewed by Cursor Bugbot for commit ea8f06e. Bugbot is set up for automated code reviews on this repo. Configure here.