nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
0.10.7 is the newest release of 0.7.x.
In short
2 new
Security
3 advisories affect 0.7.3; 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
You can now access the application path with
˜, useful if you have others folders, see #16Add
envproperty innuxt.config.js, you can now define environment variables that will be shared across the components (client and server side), see #16window.onNuxtReady(callback)is now a function, useful for attaching multiple functions to it, when is the app will be mounted, the callback will be called with the root application in the first argument
window.onNuxtReady(function (app) {
// app is the $root vm
})It is useful for test purposes or when defining plugins to launch when the app is mounted.
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.