next
16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
20 new42 fixed46 changed98 internal
Security
18 advisories affect 12.3.0; 15.5.29 fixes them
- CriticalNext.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are usedGHSA-2464-fhr4-w9xw · 22 Oct 2026Fixed in 15.5.28
- CriticalNext.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are usedGHSA-2xp9-vwfh-vxw4 · 8 Sep 2026Fixed in 15.5.24
- CriticalAuthorization Bypass in Next.js MiddlewareGHSA-f82v-jwr5-mffw · 21 Mar 2025Fixed in 12.3.5
- HighNext.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostnameGHSA-p9j2-gv94-2wf4 · 22 Jul 2026Fixed in 15.5.21
- HighNext.js has a Middleware / Proxy bypass in Pages Router applications using i18nGHSA-36qx-fr4f-26g5 · 11 May 2026Fixed in 15.5.16
13 more
- HighNext.js authorization bypass vulnerabilityGHSA-7gfc-8cq8-jh5f · 17 Dec 2024Fixed in 14.2.15
- ModerateNext.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responsesGHSA-pc58-hwjq-p385 · 19 Nov 2026Fixed in 15.5.29
- ModerateNext.js has a Denial of Service in the Image Optimization APIGHSA-h64f-5h5j-jqjh · 11 May 2026Fixed in 15.5.16
- ModerateNext.js: HTTP request smuggling in rewritesGHSA-ggv3-7p47-pfv8 · 17 Mar 2026Fixed in 15.5.13
- ModerateNext.js: Unbounded next/image disk cache growth can exhaust storageGHSA-3x4c-7xq6-9pq8 · 17 Mar 2026Fixed in 15.5.14
- ModerateNext.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configurationGHSA-9g9p-9gw9-jx7f · 27 Jan 2026Fixed in 15.5.10
- ModerateNext.js Affected by Cache Key Confusion for Image Optimization API RoutesGHSA-g5qg-72qw-gw5v · 29 Aug 2025Fixed in 14.2.31
- ModerateNext.js Content Injection Vulnerability for Image OptimizationGHSA-xv57-4mr9-wg8v · 29 Aug 2025Fixed in 14.2.31
- ModerateNext.js Improper Middleware Redirect Handling Leads to SSRFGHSA-4342-x723-ch2f · 29 Aug 2025Fixed in 14.2.32
- ModerateDenial of Service condition in Next.js image optimizationGHSA-g77x-44xx-532m · 14 Oct 2024Fixed in 14.2.7
- LowNext.js's Middleware / Proxy redirects can be cache-poisonedGHSA-3g8h-86w9-wvmq · 11 May 2026Fixed in 15.5.16
- LowNext.js Race Condition to Cache PoisoningGHSA-qpjv-v59x-3qc4 · 15 May 2025Fixed in 14.2.24
- LowNext.js missing cache-control header may lead to CDN caching empty replyGHSA-c59h-r6p8-q9wc · 22 Oct 2023Fixed in 13.5.0
Release note
Core Changes
Refactor client entry plugin to separate methods.
Eliminate path polyfill and incremental-cache from base server
Remove precopied styled-jsx
Refactor handling of addPageEntry promise
Support multiple flush effects
Eliminate Amp in Edge runtime
Rename page -> entry in on-demand-entry-handler
Update .env HMR handling
Fix Edge SSR routes
Support tsconfig paths without baseurl
Enable @typescript-eslint/no-use-before-define for functions
Remove minify: false for webpack5 bundle
Next Server code refactoring
Eliminate path and utils from base server
Remove webpack4 types
Enable additional TypeScript ESLint rules
next/dynamic: Handle template literal import path
Add comment on slash normalizing in server
Refactor base server
Add separate entry per layout/page.
next-server: Fix priority for edge routes
Add todo for dependsOn
Improved server CSS handling
next-swc: Update swc
Fix next-app-loader on windows
swc/emotion: Correct the
SPACE_AROUND_COLONregex#39609: Warns about suspense and ssr
Use realpath when emitting traced package.json
#39706: Add avif support for node serve static
next: Do not display message when middleware is removed on dev mode
Allow Edge Functions to stream a compressed
fetchresponseFix meaninglessFileNames type in compiler options schema
Update stalled ensure log to use debug instead
Skip building /500 in dev mode
Fix
onErrorhandling innext/future/imageImprove error message on
next/future/imagewhenobjectFitorobjectPositionRefactor client CSS imports
Ensure moduleResolution is written correctly
Fix disposing active entries in dev compilers
#39807: Ignore width/height from webpack with "fill"
Add handling for auto installing TypeScript deps and HMRing tsconfig
Remove eslint warning when no eslint config is present
next/swc: Enable wasm first binding load for the platforms
Fix
next/future/imageblur-up placeholderFix runLintCheck during build
Skip auto-install for missing deps in CI
Remove un-necessary internal jest-worker error during ts/lint error
Bump
@vercel/nft@0.22.0Handle edge runtime for app
HMR for client CSS imports
ts: Use
AppProps's generic forpagePropsTreat non page file as non route under app dir
Fix
next/future/imageincorrectly warning forfill+blurEnsure prefetch heuristic matches with and without middleware
Add
experimental.fallbackNodePolyfillsflagFix incorrect build log for moduleResolution
#39993: Avoid race condition for next/script onReady
Avoid bundling
next/scriptin the server build by defaultHandle async module for client components
Remove Unused SQLite file
Update
next/future/imageto use svg blur placeholder duringnext devRemove
<noscript>fromnext/future/imageFix
filePathbeing wrongly stringifiedRefactor Server Router
Update to detect GSSP with edge runtime during build
Fix handling with custom _error and pages/500
Fix edge rewrite handling
Error for ssg and ssr exports from client components in build time
next: Support has match and locale option on middleware config
Change
altto required innext/future/imageAllow port 0 in
next devandnext startUpdate to stable:
next/future/image,remotePatterns,unoptimized#40066: Preserve error status code from serveStatic
Detect ESLint config in package.json
Ignore EEXIST errors when creating symlinks for output standalone
Bump
@vercel/nft@0.22.1Bump styled-jsx
Match data fetch and busting cache key when path URI encodes
Updating the Next.js Logo
next/script: Simplify logic and update tests
Bypass empty pages folder for layouts
Fix styled-jsx macro imports
Ensure path can be specified for clearPreviewData
Apply default export interop to
next/configImproved route resolution in next-app-loader
Add prefetch to new router
Update
next/future/imageto support onlywidthor onlyheightAdd experimental proxy timeout option
Fix static info parsing when export data fetching method as variable
switchable-runtime: Make dev server not break when wrong runtime config is exported
Revert "Refactor Server Router"
switchable-runtime: Make it possible to switch between edge and server runtime in dev
Revert "Revert "Refactor Server Router" (#40328)"
Fix URLSearchParams lacking data from rewrite
lint: Disable
react/no-unknown-propertyUpdate
onLoadingCompletefornext/future/imageto receive reference to<img>Remove warning for swcMinify being enabled
Documentation Changes
Revert "Adds note about custom server requirements"
Misc Changes
Fix preinstall failed in yarn@1.x on FreeBSD with npm@8.17
Add edge ssr to pr stats
create-app: Support github url has trailing slash
Added tests for next/router in app directory
Fix failing e2e getServerSideProps test
Add path to export-page
Add test for server CSS imports
cli: Do not throw error when extracting examples in Node 18+
cli: Delete temp file after extraction
Fix test hydration check in Safari 10.1
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.