Skip to content

[Snyk] Security upgrade next from 13.4.7 to 15.5.15#21

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-96b5954f7dc678467449c47bcafd5dfc
Open

[Snyk] Security upgrade next from 13.4.7 to 15.5.15#21
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-96b5954f7dc678467449c47bcafd5dfc

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io Bot commented Apr 10, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15954202
  635  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Apr 10, 2026

Merge Risk: High

This is a major upgrade from Next.js v13 to v15, which includes multiple significant and breaking changes. Developers must take action to ensure their application remains compatible. Automated code modifications (codemods) are available to assist with the upgrade process.

Breaking Changes in Next.js 14

  • Minimum Node.js Version: The required Node.js version was increased to 18.17.
  • next export Removed: The next export command has been removed. Use the output: 'export' configuration in next.config.js instead.
  • @next/font Removed: The standalone @next/font package is no longer supported and has been replaced by the built-in next/font. A codemod is available for this migration.
  • ImageResponse Import Path: The import for ImageResponse has moved from next/server to next/og. A codemod can automate this change.

Breaking Changes in Next.js 15

  • React 19 Required: Next.js 15 requires react and react-dom version 19. This introduces its own set of changes, such as replacing useFormState with useActionState.
  • Asynchronous Request APIs: Several previously synchronous APIs are now asynchronous and require await. This affects cookies(), headers(), draftMode(), and accessing params and searchParams in pages and layouts.
  • Default Caching Behavior: fetch requests, GET Route Handlers, and client-side navigations are no longer cached by default. Caching must now be explicitly configured.
  • Minimum Node.js Version: The required Node.js version was updated to 18.18.0.

Recommendation: This is a high-impact upgrade. It is strongly recommended to use the provided codemods to automate as much of the migration as possible. Start by running the upgrade command:
npx @next/codemod@canary upgrade latest

After running the codemod, thoroughly test the application, paying close attention to data fetching, caching logic, and any components that use the newly async APIs. Manual updates will be required, especially for adapting to the new caching defaults and React 19 APIs.

Source: Next.js 14 Upgrade Guide, Next.js 15 Upgrade Guide

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Apr 10, 2026

Snyk checks have failed. 1 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (1)
Open Source Security 0 1 0 0 1 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown

@orca-security-us orca-security-us Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed OSS Licenses high 0   medium 14   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca
📦 The following Open Source License Violations have been detected
PACKAGE VERSION LICENSE FILE PATH
medium @img/sharp-libvips-darwin-arm64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-darwin-x64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-arm 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-arm64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-ppc64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-riscv64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-s390x 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linuxmusl-arm64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-wasm32 0.34.5 Apache-2.0 AND LGPL-3.0-or-later AND MIT ./package-lock.json View in code
medium @img/sharp-win32-arm64 0.34.5 Apache-2.0 AND LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-win32-ia32 0.34.5 Apache-2.0 AND LGPL-3.0-or-later ./package-lock.json View in code
medium @img/sharp-win32-x64 0.34.5 Apache-2.0 AND LGPL-3.0-or-later ./package-lock.json View in code

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.

0 participants