Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

fix(security): upgrade Next.js 16.2.0 → 16.2.12 to patch high-severity CVEs - #97

Draft
caimanoliveira wants to merge 3 commits into
mainfrom
claude/kind-keller-yf6icc
Draft

fix(security): upgrade Next.js 16.2.0 → 16.2.12 to patch high-severity CVEs#97
caimanoliveira wants to merge 3 commits into
mainfrom
claude/kind-keller-yf6icc

Conversation

@caimanoliveira

Copy link
Copy Markdown
Owner

Summary

  • Upgraded next from 16.2.0 to 16.2.12 to address high-severity vulnerabilities
  • Fixed ws uninitialized memory disclosure via npm audit fix
  • Confirmed build passes cleanly (TypeScript + all 22 routes generated)

Vulnerabilities Fixed

Next.js CVEs (GHSA):

  • XSS via CSP nonces in App Router (GHSA-ffhc-5mcf-pf4q)
  • Cache poisoning via RSC cache-busting collisions (GHSA-vfv6-92ff-j949)
  • Middleware/proxy bypass via segment-prefetch routes (GHSA-267c-6grr-h53f, GHSA-26hh-7cqf-hhc6)
  • Middleware/proxy redirects cache-poisoning (GHSA-3g8h-86w9-wvmq)
  • DoS with Server Components (GHSA-q4gf-8mx6-v5v3, GHSA-8h8q-6873-q5fj)
  • SSRF in Server Actions (GHSA-89xv-2m56-2m9x) and rewrites (GHSA-p9j2-gv94-2wf4)
  • And 15 additional CVEs patched in this release range

ws:

  • Uninitialized memory disclosure (GHSA-58qx-3vcg-4xpx)
  • Memory exhaustion DoS (GHSA-96hv-2xvq-fx4p)

Remaining Known Vulnerabilities

3 vulnerabilities in Next.js's bundled postcss and sharp remain. The only npm-suggested fix is to downgrade to next@9.3.3, which would be a catastrophic breaking change. These are tracked upstream in the Next.js project and cannot be addressed at the project level without waiting for a Next.js release that updates its internal dependencies.

Commits in Last 24 Hours

None. Most recent project work was 2026-04-18 (P3 portal trilhas feature set, merged via PR #1).


Generated by Claude Code

Addresses high-severity vulnerabilities including XSS via CSP nonces,
cache poisoning, middleware/proxy bypass, SSRF, and DoS in Server
Components, Image Optimization API, and Server Actions.

Also fixes ws uninitialized memory disclosure (GHSA-58qx-3vcg-4xpx) via
npm audit fix.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mentoria-crm Error Error Jul 29, 2026 7:16am
splinter Ready Ready Preview, Comment Jul 29, 2026 7:16am
splinter-yhcm Ready Ready Preview, Comment Jul 29, 2026 7:16am

… versions

Python 3.9 was removed from GitHub Actions runners; update to 3.12.
Also update actions/checkout v2→v4 and actions/setup-python v1→v5
to resolve Node 20 deprecation warnings.
The file was previously committed but node_modules/ is listed in
.gitignore. Remove it from the index so git stops tracking it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants