Skip to content

fix: patch the ten advisories that reach production - #15

Open
PouyanJay wants to merge 1 commit into
thebuggeddev:mainfrom
PouyanJay:fix/12-security-bumps
Open

fix: patch the ten advisories that reach production#15
PouyanJay wants to merge 1 commit into
thebuggeddev:mainfrom
PouyanJay:fix/12-security-bumps

Conversation

@PouyanJay

Copy link
Copy Markdown

Fixes #12.

The change

Package From To Why
next 16.2.6 16.3.0 9 advisories
react-server-dom-webpack 19.2.6 19.2.8 DoS in Server Functions
react / react-dom 19.2.6 19.2.8 forced — see below

React had to move too. react-server-dom-webpack@19.2.8 peers on react@^19.2.8, so npm refuses to resolve the tree while React is pinned at 19.2.6. Both are patch releases. This is the kind of ripple that's much easier to reason about — and revert — in its own PR, which is why the bumps weren't folded into #9.

Result

npm audit goes 18 → 15. All four production-facing packages report clean:

next: clean   react-server-dom-webpack: clean   react: clean   react-dom: clean

The remaining 15 are entirely build- and dev-time (vite, wrangler, miniflare, undici, ws, sharp, esbuild, postcss). Their fixes want versions outside this project's exact pins, so they're deliberately left for a separate change with its own testing. #13 removes three more of them by deleting the unused drizzle scaffolding.

Verification

  • vinext build succeeds on 16.3.0 — the main risk with a Next minor
  • tsc --noEmit clean, eslint app clean
  • Test suite 6/6

⚠️ Merge #14 first. npm test fails on this branch in isolation, because main still carries the broken starter test that #14 fixes — the failure is pre-existing and unrelated to the bump. I verified the bump by merging #14 into a scratch branch and running the suite there, which is where the 6/6 above comes from.

next 16.2.6 -> 16.3.0 and react-server-dom-webpack 19.2.6 -> 19.2.8,
covering every npm advisory that reaches the browser or the server
runtime: SSRF in rewrites and in Server Actions, cache confusion of
response bodies, unauthenticated disclosure of internal Server Function
endpoints, DoS in the Image Optimization API, and a DoS in Server
Functions.

react and react-dom move 19.2.6 -> 19.2.8 with them, because
react-server-dom-webpack@19.2.8 peers on react@^19.2.8 and npm will not
resolve the tree otherwise. Both are patch releases.

Deliberately narrow. The remaining 15 advisories are all build- or
dev-time — vite, wrangler, miniflare, undici, ws, sharp, esbuild — and
their fixes want versions outside the exact pins this project uses, so
they need their own change and their own testing.

Fixes thebuggeddev#12
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

@PouyanJay is attempting to deploy a commit to the thebuggeddev-9222's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: 18 npm advisories, incl. 10 reaching production via next and react-server-dom-webpack

1 participant