next
16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
13 new23 fixed13 changed43 internal
Security
18 advisories affect 12.2.1; 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
Remove unused
layoutRawconfigFix invalid config warning for runtime config
next/config: Update default config for the experimental
next/swc: Setup native next-swc crash reporter
Fix unnecessary flight render passes
Readds missing
@next/next/no-assign-module-variableESLint rule.Fix failing to set initial ISR cache item in new folder
Add default experimental values
Fix error when
next/future/imageis missing width or height#38106: Use swc client config to pre-compile shared lib
Fix chunk path resolution
Revert "feat(next/swc): setup native next-swc crash reporter"
next/swc: Set cache dir explicitly
Ensure @swc/helpers do not rely on hoisting
Migrate rsc tests to app dir tests
Check for performance.getEntriesByName before calling
Adds tests to ensure
eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined.Fix pageProps is missing when route changes
next/build: Send next-swc plugins telemetry
Ensure page.server.js matches correctly
Alias react and react-dom by default
Convert head instances to array
Make runtime addressable in compile time
Ensure trailing slash is handled correctly with middleware
Fix CSS modules imported from client components in app dir
Favor browser exports for edge compiler
Fix CSS modules imported from client components in app dir with next build
Honor NEXT_MANUAL_SIG_HANDLE flag in standalone mode
Display stack trace when error occurs in API route
Handle Client Rewrites Correctly
Fix global CSS file imports
Correctly check if width is lte 0 in Image Optimization API
Enable swc minifier in create next apps
Filter proper chunks from chunk group for client components
Enable edge compiler source maps by default
Call Error.getInitialProps for the top level error
Build edge functions with node.js modules and fail at runtime
Implement new client-side router
Add param names into the tree
next/swc: Setup native next-swc crash reporter with platform supports
Ensure server components entries are not part of the pages buildmanifest
Add app-path-routes manifest
Documentation Changes
middleware-upgrade-guide.md
Example Changes
Update with-msw example to function properly for all use cases
Misc Changes
Add more code ownership paths for padmaia
Fix create-next-app tests from changed example
Fix missing trace script devDependencies
Declare NextBundleAnalyzer as a type
Add more CSS imports test cases
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.