next
16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed
10.2.3 is the newest release of 10.x.
In short
1 deprecated8 new20 fixed5 changed17 internal
- Deprecated
Deprecate Image
unsizedproperty and addlayout="fill"
Security
18 advisories affect 10.0.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
- HighNext.js authorization bypass vulnerabilityGHSA-7gfc-8cq8-jh5f · 17 Dec 2024Fixed in 14.2.15
- HighUnexpected server crash in Next.js.GHSA-25mp-g6fv-mqxx · 7 Dec 2021Fixed in 11.1.3
- HighXSS in Image Optimization API for Next.jsGHSA-9gr3-7897-pp7m · 1 Sep 2021Fixed in 11.1.1
13 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
- ModerateImproper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0GHSA-fmvm-x8mv-47mj · 17 Feb 2022Fixed in 12.1.0
- ModerateOpen Redirect in Next.jsGHSA-vxf5-wxwp-m7g9 · 12 Aug 2021Fixed in 11.1.0
- 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
Add err.sh for missing images domain
Unlazify images if no intersection observer found
Add err.sh for image config errors
Add err.sh for i18n config errors
Ensure custom routes handling with i18n
Ensure i18n context values are provided for blocking 404
Add layout prop to Image component
- Deprecated
Deprecate Image
unsizedproperty and addlayout="fill" Add all deviceSizes to srcset for responsive and fill
Avoid calling setState in callback ref
Ensure correct params are used with i18n revalidation
Fix image format for Safari and old browsers
Update 3rd party image loaders to prevent upscaling
Add missing dot to err.sh/nextjs
Remove the static optimization indicator
Rotate image from EXIF data
Ensure preload works correctly with locale option
Ensure html lang is updating on locale transition
Ensure getStaticProps isn't called without params with i18n
Ensure localeDetection: false doesn't detect from header
Allow passing statusCode for GS(S)P redirect
Ensure correct locale is used for non-prefixed path
Ensure locale is added/stripped correctly
Update default widths configuration to handle 2x/3x DPI
Ensure multi-level basePath works properly
Fix dynamic css unloading
Prevent Next.js from removing all of its styles on hydration
Ensure redirect from GS(S)P doesn't render
Example Changes
Order
moduleFileExtensionsleft-to-rightIssue #18360 - loading spinner not showing up
Misc Changes
Fix Symbol.prototype.description
Fix Symbol.protype.description polyfill
Add default tags for issue templates
Add rewrites in storybook preset
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.