NetSight
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

EcosystemPackageAffectedFixed in
npm@nuxt/webpack-builder>= 4.0.0, < 4.4.74.4.7
npm@nuxt/rspack-builder>= 4.0.0, < 4.4.74.4.7

Affected products

VendorProductAffected versions
NuxtNuxt\/Rspack-Builder
from 3.15.4 before 3.21.7
from 4.0.0 before 4.4.7
NuxtNuxt\/Webpack-Builder
from 3.15.4 before 3.21.7
from 4.0.0 before 4.4.7

Weakness classification

References