Opening a malicious website while running a Nuxt dev server could allow read-only access to code
nuxt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @nuxt/vite-builder npm |
|
|
Original description
Nuxt is an open-source web development framework for Vue.js. Starting in version 3.8.1 and prior to version 3.15.3, Nuxt allows any websites to send any requests to the development server and read the response due to default CORS settings. Users with the default server.cors option using Vite builder may get the source code stolen by malicious websites. Version 3.15.3 fixes the vulnerability.
From the CVE record · GitHub_M