Skip to content

[Snyk] Security upgrade next from 14.2.35 to 15.5.10#1327

Open
omercnet wants to merge 1 commit intomainfrom
snyk-fix-dede618a5bfa6b601b97185c86281fce
Open

[Snyk] Security upgrade next from 14.2.35 to 15.5.10#1327
omercnet wants to merge 1 commit intomainfrom
snyk-fix-dede618a5bfa6b601b97185c86281fce

Conversation

@omercnet
Copy link
Member

@omercnet omercnet commented Feb 1, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/sdks/nextjs-sdk/examples/pages-router/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15104645
  696  

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:

🦉 Allocation of Resources Without Limits or Throttling

…educe vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NEXT-15104645
Copilot AI review requested due to automatic review settings February 1, 2026 10:41
@vercel
Copy link

vercel bot commented Feb 1, 2026

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

Project Deployment Actions Updated (UTC)
access-key-management-widget Error Error Feb 1, 2026 10:41am
audit-management-widget Error Error Feb 1, 2026 10:41am
role-management-widget Error Error Feb 1, 2026 10:41am
user-management-widget Error Error Feb 1, 2026 10:41am
user-profile-widget Error Error Feb 1, 2026 10:41am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades Next.js from version 14.2.35 to 15.5.10 in the pages-router example to address security vulnerability SNYK-JS-NEXT-15104645 (Allocation of Resources Without Limits or Throttling, priority score 696). This is a major version upgrade with breaking changes. The PR description includes a warning that the pnpm-lock.yaml file failed to update and requires manual intervention.

Changes:

  • Upgrades Next.js dependency from 14.2.35 to 15.5.10 in the pages-router example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"dependencies": {
"@descope/nextjs-sdk": "workspace:*",
"next": "14.2.35",
"next": "15.5.10",
Copy link

Copilot AI Feb 1, 2026

Choose a reason for hiding this comment

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

This upgrade creates an inconsistency with the app-router example, which still uses Next.js 14.2.32. For consistency and to ensure both examples are protected against the same security vulnerability (SNYK-JS-NEXT-15104645), consider upgrading the app-router example to the same Next.js version. Both examples should ideally use the same major version to maintain consistency in the SDK's example implementations.

Suggested change
"next": "15.5.10",
"next": "14.2.32",

Copilot uses AI. Check for mistakes.
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.

3 participants