nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
3.21.11 is the newest release of 3.x.
In short
1 removed25 new2 faster34 fixed2 changed160 internal
- Removed
nuxt: Remove deprecated
req/resaccess
Security
12 advisories affect 3.1.0; 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.1.0 is the first minor release after Nuxt 3.0 including bug fixes and enhancements.
Highlights
📖 Lots of improvements to the documentation and website (you can already see them in nuxt.com)
🏝️ Experimental component Islands and server only components
✨ New
onNuxtReady,useNuxtDataanduseSeoMetacomposables﹛ experimental config schema (for module or theme authors)
💪 Upgraded to Nitropack v2
Changelog
Enhancements
nuxt: Experimental server component islands
nuxt: Add
onNuxtReadycomposableuseNuxtDatacomposablenuxt: Support for extending error.vue in layers
vite: Upgrade to vite 4
nuxt: Deep watch
useCookieref value by defaultvite: Display production build stats
nuxt: Server-only components
imports:
imports:contexthook for unimport contextvite: Support
build.transpileas functionnuxt: Prefetch middleware/layouts + await layout loading
nuxt: Support server components with extracted payloads
kit: Add
extendRouteRulesmethodnuxt: Allow disabling color for
<NuxtLoadingIndicator>head:
useSeoMetacomposableExperimental config schema
Performance
nuxt: Use static import of
@unhead/ssrnuxt: Add tree-shaken
useServerSeoMetacomposable
Fixes
Remove
postcss.configfrom schemanuxt: Include missing
<NuxtPage>component propsnuxt: Allow layouts to receive custom props
test-utils: Do not hide vitest output
nuxt:
useCookiewith defaults should return non-null valuenuxt: Defer render-blocking prefetches until after load
nuxt: Speculation rules should be reactive
kit: Support applying
.nuxtignorewithin external layers- Removed
nuxt: Remove deprecated
req/resaccess nuxt: Await plugin asyncdata promises in nuxt hook
schema: Add hookable dependency
vite: Skip only vite transform middleware
nuxt: Remove absolute paths from routes objects
nuxt: Make dev-only regexp less greedy
nuxt: Set is loading state for
<NuxtLoadingIndicator>after throttlecli: Show an error if no value is supplied for the
--templateflagvite: Defer to nitro to copy public dir
nuxt: Include components
runtimedir in build outputnuxt: Add
build.transpilestrings to nitro inline listnuxt: Support deep assign on empty object for app config
nuxt: Don't short circuit middleware after validate function
nuxt: Don't try to override computed layouts in
definePageMetanuxt: Allow overriding lower layer composables
nuxt: Update
classprop type for head componentsnuxt: Avoid injecting url helpers into
globalThisnuxt: Name anonymous components in render tree
vite: Add additional before skipping vite transform
kit: Resolve group syntax of
ignorenuxt: Use query for hashing the fetch key
cli: Prevent showing stack traces while scaffolding
nuxt: Provide types for modules as array
vite: Don't skip loading styles in hydration phase
vite: Enable css sourcemaps in dev based on
sourcemapnuxt: Await async
callWithNuxtcallsnuxt: Let router handle internal redirects within middleware
nuxt: Import
onServerPrefetchUpgrade unimport, close #15594
Upgrade unimport
Styles
Lint docs
Split out type imports
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.