CVE-2026-128072
@nuxt/webpack-builder and @nuxt/rspack-builder dev server serves built source to DNS rebinding pages
Impact
Nuxt is an open-source web development framework for Vue.js. From @nuxt/webpack-builder 3.0.0 and @nuxt/rspack-builder 3.12.2 until 4.6.4, the development middleware trusts Origin, Referer, or Sec-Fetch-Site when the Host header names the same attacker-controlled hostname. After DNS rebinding changes that hostname to a loopback address, a malicious page opened by a developer can read /_nuxt/*.js client chunks and inline source maps, exposing compiled application source, local filesystem paths, and developer-controlled values embedded in the client bundle. The attacker must know or guess the development-server port and induce the developer to open the malicious page; Chrome 142 and later and other Chromium-based browsers that enforce Local Network Access restrictions prompt before a public page can reach the loopback address. The default Vite builder and production builds are unaffected. This issue is fixed in version 4.6.4.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @nuxt/webpack-builder | >= 4.0.0, < 4.6.4 | 4.6.4 |
| npm | @nuxt/rspack-builder | >= 4.0.0, < 4.6.4 | 4.6.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| @clerk | Nuxt | from 3.0.0, before 4.6.4 |
| @nuxt | Rspack-builder | from 3.12.2, before 4.6.4 |
| @nuxt | Webpack-builder | from 3.0.0, before 4.6.4 |
| Nuxt | Nuxt | Version >= 3.0.0, < 4.6.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nuxt/nuxt/security/advisories/GHSA-x2wv-5868-p7v2
- https://github.com/nuxt/nuxt/commit/3c9645326a2b3f5cfa09c9a935db9b1825d560e7
- https://github.com/nuxt/nuxt/commit/3e1c7964e6843e1c5f218867a4ccd4cd00ad9ebb
- https://github.com/nuxt/nuxt/commit/8c11d965dad5bfc58d4c25e796915aec045acb78
- https://github.com/nuxt/nuxt/commit/f8d64c9aa773a033596532365d455890da9da197
- https://github.com/nuxt/nuxt/releases/tag/v4.6.4
- https://github.com/advisories/GHSA-x2wv-5868-p7v2
- https://nvd.nist.gov/vuln/detail/CVE-2026-128072