nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
2.18.1 is the newest release of 2.x.
In short
29 new19 fixed1 changed15 internal
Security
3 advisories affect 2.13.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
What's new?
New
target: staticand full static usingnuxt exportBuilt-in
.envsupport andruntimeConfigAuto components discovery with nuxt/components
Nuxt Telemetry
Also don't miss nuxt/content and nuxt-composition-api ;)
Features
general:
createRequireoption and disable esm for jestgeneral: Improve production debugging DX
general: Experimental nuxt telemetry
general: Builtin Components
general: Runtime config and built-in dotenv support (#7312, #7420, #7421)
general: Full static target (#6159, #7332, #7334, #7336, #7350, #7399, #7400, #7401, #7431, #7486, #7523, #7518)
generator: Allow excluding exported pages using
export:pagehookgenerator:
export:routehook andsetPayloadwebpack: Allow babel plugins to be defined by function
webpack: Add
mjstobabel-loaderconfig: Support
.nuxtrcconfig: Improved runtimeConfig
config: Add configOverrides for loadNuxt and loadNuxtConfig
ssr: Add non async split chunk to preload scripts
server: Add new
render:beforeResponsehookserver: Add unload method support for serverMiddleware
server: Support csp
report-uriserver: Add custom HTTP headers into error response
modern: Remove inlined safari fix in csp mode
vue-app: Inject into plugins context in addition to app context
vue-renderer: Add head
<base>meta for spavue-renderer: Pass
renderContexttovue-renderer:ssr:templateParamshookbabel-preset-app: Add
bugfixesoptionbuilder: Ignore option to function the same as
.nuxtignore
Bug Fixes
core: Improve module not found error
Join with os native sep in resolver
general: Use different port for loading-screen SSE
general: #7377, #7378 Set build indicator icon height for ie11
webpack: #7462, #7464 Reduce false negatives in nodeExternals
webpack: Allow HMR client path to be set
webpack: Use non-eval sourcemap with csp and
unsafe-evalscript policyvue-app:
redirectno longer strips trailing slash from URL (#7475, #7533)vue-app: Allow background customization for default loading template
vue-app:
sanitizeComponentimport regression with features disabledvue-app: Sanitize layouts after resolve for
splitChunks.layoutgenerator: Improve error handling when build does not exists
modern: Modulepreload not work in generate
modern: Wrong assets mapping in ssr client modern mode
vue-renderer: Fix meta injection when ssr renderer generates a spa page
vue-renderer: Base tag should be before any link or script tag
generator, builder: Empty build and dist directories instead of remove
babel: Not override presets if babelrc is true
server: HMR for sub-app serverMiddleware without path
Types
generalMove
@nuxt/typesto nuxt mono-repo
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.