CVE-2025-24360 Opening a malicious website while running a Nuxt dev server could allow read-only access to code
MediumCVSS 5.3
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuxt @nuxt/vite-builder(npm) | >= 3.8.1, < 3.15.3 | 3.15.3 | Fixed |
| nuxt | = >= 3.8.1, < 3.15.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuxt @nuxt/vite-builder(npm) | >= 3.8.1, < 3.15.3 | 3.15.3 |
| nuxt | = >= 3.8.1, < 3.15.3 | No fix listed |
References
- https://github.com/nuxt/nuxt/security/advisories/GHSA-2452-6xj8-jh47 vendor-advisory
- https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/nuxt/nuxt/pull/23995 patch
- https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88f patch
- https://github.com/nuxt/nuxt/blob/7d345c71462d90187fd09c96c7692f306c90def5/packages/vite/src/client.ts#L257-L263
- https://github.com/nuxt/nuxt/blob/7d345c71462d90187fd09c96c7692f306c90def5/packages/vite/src/vite-node.ts#L39
- github.com
- github.com product