nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
3.21.11 is the newest release of 3.x.
In short
1 new3 faster17 fixed20 internal
Security
12 advisories affect 3.2.2; 4.6.0 fixes the others
- ModerateNuxt exposes the message and data of unhandled errors thrown during server renderingGHSA-96x6-fvhx-49hg · 16 Nov 2026No fix yet
- ModerateNuxt: Incomplete fix for GHSA-6gq8-jgmh-3ffp: an encoded slash (`%2F`) in the request path bypasses route rules on catch-all page routesGHSA-f3x9-2chm-73c8 · 16 Nov 2026No fix yet
- ModerateNuxt: Server-side route rules (`redirect`, `headers`, `proxy`, `ssr`) are skipped for case-variant paths when routing is case-insensitiveGHSA-vjh5-4x84-xrqp · 22 Oct 2026No fix yet
- HighNuxt: Unauthenticated CPU exhaustion parsing and hashing the Nuxt island endpoint body before hash validationGHSA-9pgf-384g-p7mv · 5 Aug 2026Fixed in 3.21.10
- HighNuxt: Unauthenticated out-of-memory crash via unbounded v-for expansion in island renderingGHSA-hxcr-hm88-mpq6 · 5 Aug 2026Fixed in 3.21.10
7 more
- HighNuxt allows DOS via cache poisoning with payload rendering responseGHSA-jvhm-gjrh-3h93 · 19 Mar 2025Fixed in 3.16.0
- ModerateNuxt: Unauthorized Component Instantiation via Server Island PropsGHSA-48hr-524c-v5w3 · 5 Aug 2026Fixed in 3.21.10
- ModerateNuxt: Reflected XSS in `<NuxtLink>` via unsanitised `javascript:` or `data:` URLGHSA-934w-87qh-qr26 · 16 Jun 2026Fixed in 3.21.7
- Moderatenuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRGHSA-vf6r-87q4-2vjf · 5 Aug 2024Fixed in 3.12.4
- LowNuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledGHSA-jjm6-p2m9-9w4x · 22 Oct 2026Fixed in 4.6.0
- LowCross-site scripting via <NoScript> slot content in Nuxt's head componentsGHSA-m3q2-p4fw-w38m · 16 Jun 2026Fixed in 3.21.7
- LowNuxt: `__nuxt_island` endpoint does not bind responses to request props, enabling shared-cache poisoningGHSA-g8wj-3cr3-6w7v · 19 May 2026Fixed in 3.21.6
Release note
3.2.1 is a patch release with (lots of) bug fixes and performance improvements since last week's minor release.
3.2.2 was a swiftly following release to patch an issue withnuxi init
Highlights
As a patch release, there are mostly bug fixes and performance improvements in the changelog. (Nevertheless, it's always worth reading through!) But one point of note is an experimental reload strategy when chunk errors are encountered. We're hoping to finalise the API and land it in v3.3 (our next feature release) with #19086, but you can test out an experimental version with the following config:
export default defineNuxtConfig({
experimental: {
emitRouteChunkError: 'reload'
}
})With this strategy, your app will hard reload on route changes if there's a chunk error. More info at #19038.
Changelog
Enhancements
nuxt: Add experimental
app:chunkErrorhook and reload strategy
Performance
nuxt: Allow tree-shaking empty meta from build
nuxt: Animate transform rather than width
nuxt: Don't include side-effects from
#components
Fixes
schema: Allow type inference of arrays in runtime config
nuxt: Avoid recursive import in nitro renderer
nuxt: Expose
nuxt/schemasubpath for augmentationnitro: Ensure ssr error
statusCodeis a numbernuxt: Prevent hyphens forming child routes & warn if dupes are detected
schema: Transpile
nuxt/appby defaultvite: Exclude
nuxt/appfrom optimised depsvite: Respect
isCustomElementconfig for jsx transformnuxt: Use parser to treeshake client-only declarations
cli: Pass through exit code from test errors
nuxt: Show client error if no page matches after validate fails
cli: Read
devServeroptions from nuxt confignuxt: Validate no
//in path when constructing payload urlnuxt: Restore previous check on payload url
nuxt: Test generated pathname
nuxt: Respect redirects which differ only by trailing slash
nuxt: Pass nuxt + workspace paths when importing builder
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.