Nuxt: Dev server exposes built source over LAN to malicious sites (incomplete fix for GHSA-4gf7-ff8x-hq99)
nuxt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @nuxt/rspack-builder npm |
|
|
| @nuxt/webpack-builder npm |
|
nuxt
| Product | Affected | Fixed in |
|---|---|---|
| @nuxt/rspack-builder npm |
|
|
| @nuxt/webpack-builder npm |
|
|
Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder versions 3.15.4 to before 3.21.6, and 4.0.0-alpha.1 to before 4.4.6, there is an incomplete fix for GHSA-4gf7-ff8x-hq99. Source code may 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.6 and 4.4.6.
From the CVE record · GitHub_M
Affected @nuxt/rspack-builder and @nuxt/webpack-builder versions have an incomplete security fix that may allow source code to be stolen during development. This requires the dev server to be bound to a non-loopback address and the developer to open a malicious site on the same network.
Check Nuxt projects using either builder package at versions >=3.15.4 and <3.21.6, or >=4.0.0-alpha.1 and <4.4.6.