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.10, patch ws CVEs, fix SQL search_path - #91
Draft
caimanoliveira wants to merge 4 commits into
Draft
fix(security): upgrade Next.js 16.2.0 → 16.2.10, patch ws CVEs, fix SQL search_path#91caimanoliveira wants to merge 4 commits into
caimanoliveira wants to merge 4 commits into
Conversation
…h_path - Upgrade next from 16.2.0 → 16.2.10 to resolve 14 HIGH/MODERATE CVEs (DoS via Server Components, Middleware bypasses, XSS, cache poisoning, SSRF via WebSocket upgrades — GHSA-q4gf-8mx6-v5v3 and others) - Fix ws HIGH severity memory disclosure/DoS (GHSA-58qx-3vcg-4xpx) via npm audit fix - Replace broken "next lint" script (removed in Next.js 16) with tsc --noEmit - Add migration to fix mutable search_path on update_etapa_respostas_updated_at trigger function (Supabase lint 0011) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VNvA25wnFPn5ufZ5rXHsT
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Python 3.9 is no longer available on GitHub Actions runners (3.10+ only). Also update actions/checkout@v2→@v4 and actions/setup-python@v1→@v5 to avoid Node 20 deprecation warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VNvA25wnFPn5ufZ5rXHsT
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014VNvA25wnFPn5ufZ5rXHsT
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
nextfrom16.2.0→16.2.10to fix 14 HIGH/MODERATE CVEs (DoS via Server Components, Middleware/Proxy bypasses, XSS, cache poisoning, SSRF — GHSA-q4gf-8mx6-v5v3 and 13 others)wsHIGH severity memory-disclosure and DoS vulnerabilities (GHSA-58qx-3vcg-4xpx, GHSA-96hv-2xvq-fx4p) vianpm audit fix"lint": "next lint"script —next lintwas removed in Next.js 16; now runstsc --noEmit20260721000000_security_fixes.sqlto fix mutablesearch_pathonupdate_etapa_respostas_updated_attrigger function (Supabase lint 0011)Changes
package.json— next version bump, lint script fixpackage-lock.json— updated lockfilementoria-crm/supabase/migrations/20260721000000_security_fixes.sql— new migration withSET search_path = public, pg_tempon the trigger functionBuild status
next buildpasses cleanly on 16.2.10 (22/22 pages generated, TypeScript clean).Generated by Claude Code