fix(deps): bump next to ^15.5.21 and override sharp to ^0.35.0 - #350
Merged
Conversation
Resolves all 9 open Dependabot alerts on the default branch: - next 15.5.20 -> 15.5.22 (alerts 3-10: SSRF in Server Actions and rewrites, cache confusion, Server Action DoS, SVG image DoS, server function endpoint disclosure; first patched in 15.5.21) - sharp 0.34.5 -> 0.35.3 via npm override (alert 2: libvips CVE-2026-33327/33328/35590/35591; first patched in 0.35.0). next 15.5.21 still pins sharp ^0.34.3, so an override is required until upstream bumps its optional dependency. Verified locally: npm ci, npm test (183 pass), npm run build. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for cosmic-klepon-3c693c ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
Resolves all 9 open Dependabot alerts on the default branch (4 high, 5 moderate). All 9 map to two packages:
Reachability
"use server"appears nowhere) and no rewrites (only a/signinredirect), so the two SSRF alerts and the Server-Action DoS/payload alerts are not directly exploitable today — patched anyway sincenextis a runtime dependency and usage can change.next/image, so the SVG image-optimization DoS (Implement Google Tag Manager #5) and the sharp/libvips alerts (Update install steps #2) are plausibly reachable on the Netlify runtime.Why the sharp override
next15.5.21+ still pinssharp@^0.34.3as its optional dependency, so bumpingnextalone cannot pull in the patched sharp. An npmoverridesentry forces^0.35.0until upstream bumps its range. The existingpostcssoverride pattern is preserved.Verification
npm ci— clean installnpm test— 183/183 passnpm run build— succeeds (includes prebuild: paper fetch, tests, presentation verification)🤖 Generated with Claude Code