nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
6 new1 faster8 fixed17 internal
Security
3 advisories affect 2.11.0; 4.6.0 fixes them
- 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
Release note
Bug Fixes
utils: Add catch statement to non function block in
serializeFunctionutils: Fix
flatRoutesregex for nested routes with trailing slash enabledvue-app: Pass router mode to
getLocationvue-app: Apply path-to-regexp options to
tokensToFunctionvue-app: Layout in
error.vuenot work for Vue.extend componentvue-app: Add
prefetchedclass to<nuxt-link>after chunk loadedgeneral:
context.routeissue in plugins andsplitChunks.pages === falsegeneral: Collapsed SSR log
webpack: Enable devtool for dev mode
webpack: Normalize devtool for terser compatibility
Features
vue-app: Upgrade
vue-routerto3.1.xgeneral: Optionally strip non-client or non-server code
vue-renderer: Support evaluation in templates
config: Add
ignoreOptionsfornode-ignore
Performance
webpack: Prefer using
contenthash
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.