@nuxt/webpack-builder and @nuxt/rspack-builder dev server serves built source to DNS rebinding pages
- State
- Published
- Severity
- 3.1 Low
- Published
- Nov 13, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 12, 2026
Description
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.
| Product | Versions |
|---|---|
| nuxt nuxt | >= 3.0.0, < 4.6.4 Affected |
| webpack-builder @nuxt | >= 3.0.0, < 4.6.4 Affected |
| rspack-builder @nuxt | >= 3.12.2, < 4.6.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 3.1 Low | GitHub_M |
Weaknesses
- CWE-346 Origin Validation Error
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.