@nuxt/rspack-builder
4.6.4 · 2 Nov 2026MIT590 / weekRepositoryHomepagenpmAtom feed
3.21.11 is the newest release of 3.x.
In short
1 breaking18 internal
- Breaking
This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see github.com/nuxt/nuxt/security/advisories/GHSA-4… and github.com/nuxt/nuxt/security/advisories/GHSA-2…) and we urge you to update ASAP.
Security
Fixes 1 advisory that affected 3.15.2
- ModerateOpening a malicious website while running a Nuxt dev server could allow read-only access to codeGHSA-4gf7-ff8x-hq99 · 27 Jan 2025Fixed in 3.15.3
Release note
The section about @nuxt/rspack-builder of a note shared by several packages.
3.15.3 is the next regularly scheduled patch release.
Highlights
CORS configuration for dev server
Alongside a range of improvements, we've also shipped a significant fix to impose CORS origin restrictions on the dev server. This applies to your Vite or Webpack/Rspack dev middleware only.
This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see github.com/nuxt/nuxt/security/advisories/GHSA-4… and github.com/nuxt/nuxt/security/advisories/GHSA-2…) and we urge you to update ASAP.
You can configure the allowed origins and other CORS options via the devServer.cors options in your nuxt.config, which may be relevant if you are developing with a custom hostname:
export default defineNuxtConfig({
devServer: {
cors: {
origin: ['https://custom-origin.com'],
},
},
})Upgrading
As usual, our recommendation for upgrading is to run:
npx nuxi@latest upgrade --force
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
Changelog
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.