Skip to content

fix(deps): bump next to ^15.5.21 and override sharp to ^0.35.0 - #350

Merged
abrichr merged 1 commit into
mainfrom
fix/dependabot-next-sharp-2026-08-02
Aug 2, 2026
Merged

fix(deps): bump next to ^15.5.21 and override sharp to ^0.35.0#350
abrichr merged 1 commit into
mainfrom
fix/dependabot-next-sharp-2026-08-02

Conversation

@abrichr

@abrichr abrichr commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary

Resolves all 9 open Dependabot alerts on the default branch (4 high, 5 moderate). All 9 map to two packages:

Package Before After Alerts First patched
next 15.5.20 15.5.22 #3#10 (SSRF in Server Actions & rewrites, response-cache confusion ×2, Server Action DoS, unbounded Edge payload, SVG image-optimization DoS, server-function endpoint disclosure) 15.5.21
sharp (transitive, optional dep of next) 0.34.5 0.35.3 #2 (libvips CVE-2026-33327/33328/35590/35591) 0.35.0

Reachability

Why the sharp override

next 15.5.21+ still pins sharp@^0.34.3 as its optional dependency, so bumping next alone cannot pull in the patched sharp. An npm overrides entry forces ^0.35.0 until upstream bumps its range. The existing postcss override pattern is preserved.

Verification

  • npm ci — clean install
  • npm test — 183/183 pass
  • npm run build — succeeds (includes prebuild: paper fetch, tests, presentation verification)

🤖 Generated with Claude Code

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>
@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploy Preview for cosmic-klepon-3c693c ready!

Name Link
🔨 Latest commit c2fbfb2
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-klepon-3c693c/deploys/6a6fb0a6d8cf9e0008746818
😎 Deploy Preview https://deploy-preview-350--cosmic-klepon-3c693c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@abrichr
abrichr merged commit ad9dccb into main Aug 2, 2026
9 checks passed
@abrichr
abrichr deleted the fix/dependabot-next-sharp-2026-08-02 branch August 2, 2026 21:06
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