Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
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)
Medium 5.9
In plain English
A medium-severity security flaw in nuxt from nuxt. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nuxt/rspack-builder | 4.4.7 | GHSA-x6qj-4h56-5rj5 |
| npm | @nuxt/rspack-builder | 3.21.7 | GHSA-x6qj-4h56-5rj5 |
| npm | @nuxt/webpack-builder | 4.4.7 | GHSA-x6qj-4h56-5rj5 |
| npm | @nuxt/webpack-builder | 3.21.7 | GHSA-x6qj-4h56-5rj5 |
Affected products (as reported)
Weakness: CWE-749 · Vector: CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5 x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g x_refsource_MISC
- https://github.com/nuxt/nuxt/pull/35200 x_refsource_MISC
- https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05 x_refsource_MISC
- https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3 x_refsource_MISC