Webpack Builder
Monthly
Development-mode information disclosure in @nuxt/webpack-builder (3.0.0 through 4.6.3) and @nuxt/rspack-builder (3.12.2 through 4.6.3) allows a malicious web page to read compiled client chunks from a running `nuxt dev` server by abusing DNS rebinding. The dev middleware treats Origin, Referer, or Sec-Fetch-Site as proof of same-origin whenever the Host header names the attacker-controlled hostname, so after the hostname is rebound to 127.0.0.1 the page can fetch /_nuxt/*.js and inline source maps, exposing compiled source, local filesystem paths and developer-inlined values; private runtimeConfig is not part of the client bundle. Exploitation requires the non-default webpack or rspack builder, knowledge of the dev-server port, a timed DNS rebind, and a developer lured into opening the page, with Chrome 142+ Local Network Access prompts blocking the default path; the default Vite builder and all production builds are unaffected, no public exploit code has been identified at time of analysis, and the issue is fixed in 4.6.4.
Development-mode information disclosure in @nuxt/webpack-builder (3.0.0 through 4.6.3) and @nuxt/rspack-builder (3.12.2 through 4.6.3) allows a malicious web page to read compiled client chunks from a running `nuxt dev` server by abusing DNS rebinding. The dev middleware treats Origin, Referer, or Sec-Fetch-Site as proof of same-origin whenever the Host header names the attacker-controlled hostname, so after the hostname is rebound to 127.0.0.1 the page can fetch /_nuxt/*.js and inline source maps, exposing compiled source, local filesystem paths and developer-inlined values; private runtimeConfig is not part of the client bundle. Exploitation requires the non-default webpack or rspack builder, knowledge of the dev-server port, a timed DNS rebind, and a developer lured into opening the page, with Chrome 142+ Local Network Access prompts blocking the default path; the default Vite builder and all production builds are unaffected, no public exploit code has been identified at time of analysis, and the issue is fixed in 4.6.4.