Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
next (source) 14.2.28 -> 14.2.32 age confidence

GitHub Vulnerability Alerts

CVE-2025-48068

Summary

A low-severity vulnerability in Next.js has been fixed in version 15.2.2. This issue may have allowed limited source code exposure when the dev server was running with the App Router enabled. The vulnerability only affects local development environments and requires the user to visit a malicious webpage while npm run dev is active.

Because the mitigation is potentially a breaking change for some development setups, to opt-in to the fix, you must configure allowedDevOrigins in your next config after upgrading to a patched version. Learn more.

Learn more: https://vercel.com/changelog/cve-2025-48068

Credit

Thanks to sapphi-red and Radman Siddiki for responsibly disclosing this issue.

CVE-2025-57752

A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug.

All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.

More details at Vercel Changelog

CVE-2025-55173

A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. The issue allowed attacker-controlled external image sources to trigger file downloads with arbitrary content and filenames under specific configurations. This behavior could be abused for phishing or malicious file delivery.

All users relying on images.domains or images.remotePatterns are encouraged to upgrade and verify that external image sources are strictly validated.

More details at Vercel Changelog

CVE-2025-57822

A vulnerability in Next.js Middleware has been fixed in v14.2.32 and v15.4.7. The issue occurred when request headers were directly passed into NextResponse.next(). In self-hosted applications, this could allow Server-Side Request Forgery (SSRF) if certain sensitive headers from the incoming request were reflected back into the response.

All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.

More details at Vercel Changelog


Release Notes

vercel/next.js (next)

v14.2.32

Compare Source

v14.2.31

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • fix(next/image): improve and simplify detect-content-type (#​82179)
  • fix(next/image): fix image-optimizer.ts headers (#​82178)
Credits

Huge thanks to @​styfle and @​ztanner for helping!

v14.2.30

Compare Source

v14.2.29

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

socket-security bot commented Jun 15, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
koa@2.13.4 has a Critical CVE.

CVE: GHSA-593f-38f6-jp5m Inefficient Regular Expression Complexity in koa (CRITICAL)

Affected versions: >= 2.0.0 < 2.15.4; >= 3.0.0-alpha.0 < 3.0.0-alpha.3; >= 1.0.0 < 1.7.1; < 0.21.2

Patched version: 2.15.4

From: api/yarn.locknpm/koa@2.13.4

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/koa@2.13.4. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
safer-buffer@2.1.2 has Obfuscated code.

Confidence: 0.94

Location: Package overview

From: next-app/yarn.locknpm/safer-buffer@2.1.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/safer-buffer@2.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from f6ce524 to 5a8faaa Compare June 26, 2025 07:27
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 5a8faaa to 1c59947 Compare June 26, 2025 07:39
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 1c59947 to 7441824 Compare June 26, 2025 10:08
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 7441824 to c71d474 Compare July 1, 2025 14:31
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from c71d474 to d794e0f Compare July 1, 2025 14:45
@renovate renovate bot requested a deployment to build-review July 1, 2025 14:45 Waiting
@renovate renovate bot requested a deployment to build-review July 1, 2025 14:45 Waiting
Copy link

sonarqubecloud bot commented Jul 1, 2025

@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from d794e0f to f1e098a Compare August 10, 2025 15:44
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from f1e098a to 3b06ec9 Compare August 19, 2025 12:05
Copy link

@renovate renovate bot changed the title fix(deps): update dependency next to v14.2.30 [security] fix(deps): update dependency next to v14.2.32 [security] Sep 1, 2025
@renovate renovate bot changed the title fix(deps): update dependency next to v14.2.32 [security] fix(deps): update dependency next to v14.2.31 [security] Sep 13, 2025
@renovate renovate bot changed the title fix(deps): update dependency next to v14.2.31 [security] fix(deps): update dependency next to v14.2.32 [security] Sep 14, 2025
@renovate renovate bot force-pushed the renovate/npm-next-vulnerability branch from 3b06ec9 to f65e7b1 Compare September 25, 2025 17:45
@renovate renovate bot changed the title fix(deps): update dependency next to v14.2.32 [security] chore(deps): update dependency next to v14.2.32 [security] Sep 25, 2025
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants