nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
2 new16 fixed3 internal
Security
3 advisories affect 2.14.8; 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
webpack: Allow transpiling packages in nested
node_modulesgeneral: #8325 Handle route encodings and update
vue-routervue-router: Force chidren to be required if default child is present (resolves #7823)
cli: Respect
router.trailingSlashwhen serving static files (resolves #8350)cli: Handle
generate.cache.ignoreas a function inensureBuildgenerator: Nested route missing trailingSlash (resolves #8165)
generator: Respect publicPath for static assets (resolves #7923, #7815)
csp: Apply right csp header when status code is 304 (resolves #8353)
vue-app: #8314 Handle missing payloads on full static (resolves #7717)
vue-app: Warn if promises and functions are in fetch state (resolves #8338)
vue-app: TriggerScroll when transitions is disabled
vue-app: Use nuxt globalName correctly in
nuxt-linkand fetch mixin (resolves #8118)vue-app: Prevent redirection loop with URI-encoded path (resolves #8116)
types: Correct vue.config types
types: Add missing
isFetchingand nbFetching toNuxtAppinterfacetypes:
NuxtOptionsHeadcan be a functiontypes: Add missing
ssrContextandnexttypings toContext(resolves #8296)server: Redirect if
router.basespecified in development
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.