next
16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
9 new13 fixed17 changed33 internal
Security
16 advisories affect 12.1.5; 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 authorization bypass vulnerabilityGHSA-7gfc-8cq8-jh5f · 17 Dec 2024Fixed in 14.2.15
11 more
- 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 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
Use
__non_webpack_require__to fetch partytown server-sideUse ReadableStream in client hydration for Firefox compatibility
Collect packages are used and eliminated in getServerSideProps
Initial implementation of statically optimized flight data of server component pages
Fix
layout="raw"image element sizes propReset visible state when src/href changed
Add warning when importing "next" directly
Custom app for switchable runtime
Update repo to use react 18 by default
Fix Firefox flash of white on
next/imagewithplaceholder=blurFix data encoder and decoder to use
streamin rendererRevert "fix the dynamic routing of middleware"
Update: Add error message when for getServerSideProps invalid return value
Code refactoring
Add locale prefix to middleware preflight url
Emotion SWC Plugin - Allow for jsxImportSource to be configurable
Update polyfill of web streams
Add
.eslintrc.cjsto list of supportednext lintconfig filesUpdate webpack
Ensure minimalMode previousCache expire time is capped
Add test case for module resolution in node_modules from different contexts
Support shared component with next built-in client components
Use eager import to include client modules
Use renderToString for flush effects
Allow to provide postcss plugin options as a string
Fix leaking internal config to user-defined
loaderprop innext/imageSupport export all syntax in client components
Interpolate default exports
next-swc: Update swc crates
Interpolate default exports is now unnecessary
Do not add locale to link for api route and middleware preflight
Fix outputStandalone with optimizeCss
Interpolate module.exports as default import
next-url: Print properly using logger symbol
Documentation Changes
toBeInTheDocument is not a function
Revert "Improvements to the MDX Docs and replaced a leftover reference to babel"
Example Changes
with-mongodb: Change comment of MongoDB
clientingetServerSideProps
Misc Changes
Fix docs only check for performance metrics job
Add note to contributing about docs manifest
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.