nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
0.10.7 is the newest release of 0.9.x.
In short
3 new4 fixed
Security
3 advisories affect 0.9.2; 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
Features
When a dynamic route is created in a folder without
index.vue, the parameter will be optional:
pages/ --| users/ -----| _id.vue
Will create the route /users/:id?.
Improvements
nuxt.renderAndGetWindow(url)does not needjsdomas the first argument anymore, it will try to require it automatically (renderAndGetWindow is made to faciliate the tests with Nuxt.js)Nuxt.js has now 100% of coverage
Bug fixes
Fix
nuxt generateminified HTML which was not working because of theremoveComments: trueoptionFix
nuxt generateonvalidate({ query, params })method -> not server-render it when not validFix crash when children has no
datamethodFix
validate()call on children routes
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.