Skip to content

fix: resolve 15 Snyk vulnerabilities (1 Critical, 8 High, 6 Medium) - #184

Merged
patrickrb merged 2 commits into
mainfrom
fix/snyk-vulnerabilities
May 9, 2026
Merged

fix: resolve 15 Snyk vulnerabilities (1 Critical, 8 High, 6 Medium)#184
patrickrb merged 2 commits into
mainfrom
fix/snyk-vulnerabilities

Conversation

@patrickrb

Copy link
Copy Markdown
Owner

Summary

  • Upgrades next 15.5.9 → 16.2.6 (fixes 6 Next.js CVEs incl. DoS and HTTP request smuggling) and @azure/storage-blob 12.29.0 → 12.29.1 (transitively fixes 6 fast-xml-parser CVEs incl. XML Entity Expansion).
  • Adds overrides block forcing preact ≥10.28.2 (Critical type-confusion CVE inside next-auth), uuid ≥11.1.1, postcss ≥8.5.10.
  • tsconfig.json changes are Next 16's automatic codemods (.next/dev/types/**/*.ts include, jsx: react-jsx).

Vulnerabilities resolved (15 of 16)

Severity Package CVE / Fix
Critical preact type-confusion → ≥10.26.10
High ×3 next DoS / resource throttling → 16.x
High ×5 fast-xml-parser XEE, uncaught exception, regex DoS → 5.7.3
Medium ×2 next DoS, HTTP request smuggling → 16.x
Medium fast-xml-parser buffer overflow → 5.7.3
Medium postcss XSS → 8.5.10
Medium uuid improper input validation → 11.1.1

Remaining (1)

  • leaflet@1.9.4 — XSS (Medium, CVSS 5.3, SNYK-JS-LEAFLET-16427276). No upstream fix availablefixedIn is empty in the advisory. Options: pin to a patched fork, accept the risk, or .snyk ignore with a review date.

Test plan

  • npm install clean
  • npm run build succeeds (Next 16.2.6, Turbopack, 89 pages)
  • npx snyk test shows only the unfixable leaflet CVE remaining
  • Smoke test in dev (npm run dev) — verify no Next 16 runtime regressions
  • Run Playwright suite (npm test) before merging

🤖 Generated with Claude Code

Upgrades next 15.5.9 -> 16.2.6 (fixes 6 Next CVEs incl. DoS / HTTP
request smuggling) and @azure/storage-blob 12.29.0 -> 12.29.1 (pulls
fast-xml-parser >=5.7.3, fixing 6 CVEs incl. XEE and uncaught
exceptions). Adds npm overrides to force-fix transitive deps inside
next-auth: preact >=10.28.2 (Critical type-confusion), uuid >=11.1.1,
postcss >=8.5.10. tsconfig.json updates are Next 16 codemods.

Remaining: leaflet 1.9.4 XSS (no upstream fix available).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
nodelog Ready Ready Preview, Comment May 9, 2026 5:28pm

Request Review

Next 16 removed the 'next lint' wrapper, so npm run lint failed in CI
with 'Invalid project directory: lint'. Switches the script to
'eslint .' and updates eslint.config.mjs to consume the flat configs
that eslint-config-next@16 now exports natively (no FlatCompat).

Downgrades three new react-hooks rules (set-state-in-effect,
immutability, preserve-manual-memoization) and 'no-require-imports'
for scripts/*.js to warnings — these are advisory rules introduced by
upgraded plugins, flagging 54 pre-existing patterns that are out of
scope for this security PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@patrickrb
patrickrb merged commit f4ea0a5 into main May 9, 2026
6 checks passed
@patrickrb
patrickrb deleted the fix/snyk-vulnerabilities branch May 9, 2026 17:31
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.

1 participant