Update dependency next to v15 [SECURITY] #134
Open
+1
−1
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.
This PR contains the following updates:
^14.2.20
->^15.0.0
GitHub Vulnerability Alerts
CVE-2025-29927
Impact
It is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.
Patches
15.2.3
14.2.25
13.5.9
12.3.5
Note: Next.js deployments hosted on Vercel are automatically protected against this vulnerability.
Workaround
If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the
x-middleware-subrequest
header from reaching your Next.js application.Credits
CVE-2025-32421
Summary
We received a responsible disclosure from Allam Rachid (zhero) for a low-severity race-condition vulnerability in Next.js. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve
pageProps
data instead of standard HTML.Learn more here
Credit
Thank you to Allam Rachid (zhero) for the responsible disclosure. This research was rewarded as part of our bug bounty program.
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.Learn more: https://vercel.com/changelog/cve-2025-48068
Credit
Thanks to sapphi-red and Radman Siddiki for responsibly disclosing this issue.
Release Notes
vercel/next.js (next)
v15.2.2
Compare Source
Core Changes
d55cc79b-20250228
to443b7ff2-20250303
: #76804443b7ff2-20250303
toe03ac20f-20250305
: #76842__next_app__
module loading functions: #74566e03ac20f-20250305
to029e8bd6-20250306
: #76870x
button present: #76898Example Changes
Misc Changes
redirect
in client components: #76332labeler.json
: #76828SyntaxContext
for__turbopack_esm__
: #73544next.browser
instead ofwebdriver
in pages/ client-navigation: #76867swc_core
tov16.4.0
: #76596v1.0.0-alpha.64
: #76856__dirname
: #76902Credits
Huge thanks to @pranathip, @gaojude, @ijjk, @eps1lon, @Nayeem-XTREME, @leerob, @styfle, @samcx, @sokra, @huozhi, @raunofreiberg, @mischnic, @lubieowoce, @unstubbable, @ztanner, @kdy1, @timneutkens, @wbinnssmith, @bgw, and @oscr for helping!
v15.2.1
Compare Source
Core Changes
sourcePackage
references: #76550revalidate
property from incremental cachectx
forFETCH
kind: #76500cache-control
header and prerender manifest: #762075.8.2
: #76709generateStaticParams
: #7671322e39ea7-20250225
tod55cc79b-20250228
: #76680Example Changes
params
code blocks: #76705Misc Changes
swc_core
tov16.0.0
: #76414parallel-routes-revalidation
test: #76600octokit.rest.issues.addLabels
call: #76601devIndicators
and note on deprecated options: #76611htmlLimitedBots
option: #76616test-turbopack-integration
not having any shards : #76355describeVariants
helper: #76631toDisplayRedbox()
: replace all occurrences of testDir: #76618Credits
Huge thanks to @acdlite, @bgw, @ijjk, @molebox, @kdy1, @timneutkens, @devjiwonchoi, @mischnic, @unstubbable, @eps1lon, @huozhi, @philipithomas, @delbaoliveira, @samcx, @wbinnssmith, @sokra, @gnoff, @leerob, @ztanner, @raunofreiberg, @lubieowoce, and @LihaoWang for helping!
v15.2.0
Compare Source
Core Changes
unstable_allowDynamic
when used with pnpm: #73732.test.
files from using error code plugin: #73868react-dev-overlay
before fork: #74016GroupedStackFrames.tsx
: #74028State<T>
types into OperationValues and/or NonLocalValues: #74008react-dev-overlay
for new UI: #74017.stories.
and.test.
files from taskfile watch and error plugin: #740647283a213-20241206
to372ec00c-20241209
: #73749root-layout-missing-tags-error.tsx
to pascal case: #74089bun.lock
as package manager lockfile: #74056372ec00c-20241209
to518d06d2-20241219
: #74155images.qualities
in next.config: #74257518d06d2-20241219
to3b009b4c-20250102
: #744923b009b4c-20250102
to3ce77d55-20250106
: #745573ce77d55-20250106
to7b402084-20250107
: #745997b402084-20250107
to42687267-20250108
: #7464942687267-20250108
to74ea0c73-20250109
: #7469374ea0c73-20250109
to056073de-20250109
: #74754056073de-20250109
to540efebc-20250112
: #74805540efebc-20250112
tocabd8a0e-20250113
: #74828"use cache"
in metadata route handlers: #74835cabd8a0e-20250113
tob3a95caf-20250113
: #74868<Link prefetch={true}>
: #74172CMD + .
keyboard shortcut to show/hide: #74878b3a95caf-20250113
tof0edf41e-20250115
: #74890f0edf41e-20250115
tob158439a-20250115
: #74936b158439a-20250115
to5b51a2b9-20250116
: #74993waitUntil
: #75041colormin
feature fromcssnano
: #53393use cache
usage: #750075b51a2b9-20250116
to9b62ee71-20250122
: #75187after
export in next-types-plugin: #75190link
header from middleware with the ones from React: #73431"use cache"
: #74652"use cache"
closures: #74750internal_disableSyncDynamicAPIWarnings
flag: #75231experimental.useCache
flag: [#752Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.