Repository navigation
security: bump next to 16.4.2 (GHSA-673q-mjm6-r5xr, GHSA-2464-fhr4-w9xw, GHSA-p3m5-59mp-jv5r) - #40
Merged
Merged
Conversation
…, GHSA-p3m5-59mp-jv5r) Bump next 16.3.8 -> 16.4.2. Lockfile change is limited to next, @next/env and @next/swc-* entries. No eslint-config-next / other @next/* direct deps in this repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGMeatV8UjtCB4CTbWuAv4
…udit gate dompurify 3.4.16 -> 3.4.17 via mermaid's ^3.3.3 range (GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f) vite 8.3.1 -> 8.3.5 (GHSA-698v-4r3x-3vcv, GHSA-r825-w8mm-5pxw, GHSA-587h-7wmj-h5pm, GHSA-9jrq-w75r-8gcw, GHSA-rq7h-c2jc-7f22, GHSA-vfpm-58rq-9qcg), dev-only via vitest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGMeatV8UjtCB4CTbWuAv4
Contributor
Author
|
I added these bumps (commit 8a1dafe), so the audit gate now passes locally:
After these bumps, Not merging. |
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.
Summary
security: bump
next16.3.8 → 16.4.2 for the public advisories GHSA-673q-mjm6-r5xr (critical), GHSA-2464-fhr4-w9xw (critical) and GHSA-p3m5-59mp-jv5r (high). All 16.x up to and including 16.4.0 are affected.package.json:next^16.3.8→^16.4.2. The repo has no directeslint-config-nextor@next/*deps.package-lock.json: only thenext,@next/envand@next/swc-*entries change. I regenerated it with npm 11 so the existinglibcfields stay.npm ls nextshows a singlenext@16.4.2.Gates (run locally, DGX, node 22)
npm audit --audit-level=high(CI blocking gate)npm run typecheckvitest run(--maxWorkers=2)npm run build(prebuild + postbuild, Next.js 16.4.2)npm run verify:bundlenpm run content-lint -- --strictAdditional bumps (audit gate, commit 8a1dafe)
The audit gate also blocked on two advisories outside the next tree. I fixed both with
overridesin package.json:dompurify:^3.4.17, so 3.4.16 → 3.4.17 (critical; GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f). It is transitive viamermaid@11.17.2, whose range is^3.3.3, so the override stays inside the range mermaid declares.vite:^8.3.3, so 8.3.1 → 8.3.5 (high; GHSA-698v-4r3x-3vcv, GHSA-r825-w8mm-5pxw, GHSA-587h-7wmj-h5pm, GHSA-9jrq-w75r-8gcw, GHSA-rq7h-c2jc-7f22, GHSA-vfpm-58rq-9qcg). This is dev-only, via vitest. The lockfile also picks up vite 8.3.5's own dependencies: rolldown 1.2.11 → 1.2.15, @oxc-project/types, postcss 8.5.28 → 8.5.31 and nanoid 3.3.19 → 3.3.20. This makes dependabot chore(deps-dev): bump vite from 8.3.1 to 8.3.4 #38 redundant.After these bumps,
npm audit --audit-level=highexits 0 on 8a1dafe. Only moderate/low findings remain, and the gate does not block on those. I re-ran typecheck, tests (124 passed / 4 skipped), build, verify:bundle,content-lint --strictand sbom on 8a1dafe, and all pass.Exposure (read-only review)
next/imageimport inapp/,components/orlib/, and noimagesconfig, sodangerouslyAllowSVGis off. The default optimizer route still exists, so this is low rather than zero.use cache): not exposed. Nouse cachedirective."use server"actions. The App Router is in use, so it stays unknown-to-low.citrate-atlas(docs.citrate.ai,.vercelignore). GitHub has no Vercel deployment records for this repo, so I found no evidence that merging main auto-deploys. Treat it as unknown and check the Vercel project's Git settings.Conflicts
git merge-treeagainst every open PR: #37 and #39 are clean. #38 (dependabot, lockfile) also merges cleanly with this branch.Standard: met
npm audit --audit-level=highgate flags next on main and no longer does on this branch. With the dompurify/vite overrides it is green.Not merging, not deploying.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KGMeatV8UjtCB4CTbWuAv4