medium5.7
CVE-2026-49993
@nuxt/webpack-builder and @nuxt/rspack-builder dev server same-origin check bypassed when Sec-Fetch-Site, Origin, and Referer are all absent (incomplete fix for GHSA-6m52-m754-pw2g)
Impact
Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code may still be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. nuxt dev --host) and the developer opens a malicious site on the same network. This issue has been patched in versions 3.21.7 and 4.4.7.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @nuxt/webpack-builder | >= 4.0.0, < 4.4.7 | 4.4.7 |
| npm | @nuxt/rspack-builder | >= 4.0.0, < 4.4.7 | 4.4.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nuxt | Nuxt\/Rspack-Builder | from 3.15.4 before 3.21.7 from 4.0.0 before 4.4.7 |
| Nuxt | Nuxt\/Webpack-Builder | from 3.15.4 before 3.21.7 from 4.0.0 before 4.4.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-x6qj-4h56-5rj5
- https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g
- https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5
- https://nvd.nist.gov/vuln/detail/CVE-2026-49993
- https://github.com/nuxt/nuxt/pull/35200
- https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05
- https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3