next
16.4.5 · 3 Nov 2026MIT98M / weekRepositoryHomepagenpmAtom feed
9.5.5 is the newest release of 9.x.
In short
8 new27 fixed
Security
9 advisories affect 9.0.1; 15.5.29 fixes them
- HighUnexpected server crash in Next.js.GHSA-25mp-g6fv-mqxx · 7 Dec 2021Fixed in 11.1.3
- 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 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
4 more
- ModerateOpen Redirect in Next.jsGHSA-vxf5-wxwp-m7g9 · 12 Aug 2021Fixed in 11.1.0
- ModerateDirectory Traversal in Next.jsGHSA-fq77-7p7r-83rj · 30 Mar 2020Fixed in 9.3.2
- 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
Patches
Copy invalid-resolve-alias as it is being linked in the codebase: bb2ae41
Further clarification that api routes should be inside the page…
Note TypeScript migration
Update CODEOWNERS: a0bcdd8
Update remaining CODEOWNERS: a164a70
Remove previous cache logic
Set
cancelledproperty on routeChangeError errorUpgrade to webpack with latest acorns
Example for GraphQL server with API routes
Switch all examples to
next@latestAdd API tests to serverless
Fix package count being zero in some cases
Make recursiveReadDir return sorted array
Update to always require next/config when setting config
Improve NextApiResponse typing
Add a test for module.exports from a page
Add test for trailing slash on API route
Fix terminal links (cmd-click) on VSCode
Add UrlObject to router methods
Allow React.Fragment for Document styles
Title may be omitted
Update typescript examples
Remove with-styled-components Auto Prerendering warning
Add default values for runtime config
Add a dev2 command: 70b8bed
Handle empty directory
Test for <Document> fragment
stylesFix placeholder values being added when exporting from serverless
Stop PageConfig plugin from running on non-pages
exportPathMapdynamic routes params fixAdd declaration files to the contributing guide
Add support for legacy server npm modules
Improve exported router types
Adding a note about babelrc
Export types for link props
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.