{"id":"CVE-2025-24360","published":"2025-01-25T00:49:09Z","modified":"2025-02-12T20:41:32Z","title":"Opening a malicious website while running a Nuxt dev server could allow read-only access to code","vendor":"nuxt","product":"nuxt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00557,"percentile":0.47335,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-2452-6xj8-jh47","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6","tags":["x_refsource_MISC"]},{"url":"https://github.com/nuxt/nuxt/pull/23995","tags":["x_refsource_MISC"]},{"url":"https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88f","tags":["x_refsource_MISC"]},{"url":"https://github.com/nuxt/nuxt/blob/7d345c71462d90187fd09c96c7692f306c90def5/packages/vite/src/client.ts#L257-L263","tags":["x_refsource_MISC"]},{"url":"https://github.com/nuxt/nuxt/blob/7d345c71462d90187fd09c96c7692f306c90def5/packages/vite/src/vite-node.ts#L39","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.47},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nuxt","affectedVersions":[{"vendor":"nuxt","product":"nuxt","versions":[">= 3.8.1, < 3.15.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-27T14:15:00.708644Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nuxt/vite-builder","vulnerableRanges":[">=3.8.1, <3.15.3"],"patched":["3.15.3"],"from":["GHSA-2452-6xj8-jh47"],"provenance":"source"}],"summary":{"text":"The flaw is an overly permissive default CORS configuration in the Nuxt web framework's development server (versions from 3.8.1 up to, but not including, 3.15.3), which exposes source code to other sites. An attacker can lure a user running a Nuxt dev server with the default server.cors option and the Vite builder to a malicious website, which can then send requests to the development server over the network and read the responses, requiring no authentication but needing the user to visit the malicious page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:19Z"},"euvd":{"id":"EUVD-2025-0115","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nuxt-cve-2025-24010","parents":[{"from":"CVE-2025-24010","to":"CVE-2025-24360","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-vg6x-rcgg-rjx6","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-2452-6xj8-jh47","via":"reference","url":"https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6"}]}],"children":[{"from":"CVE-2025-24360","to":"CVE-2026-128072","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/webpack/src/webpack.ts"],"commits":["https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88f","https://github.com/nuxt/nuxt/commit/3c9645326a2b3f5cfa09c9a935db9b1825d560e7","https://github.com/nuxt/nuxt/commit/3e1c7964e6843e1c5f218867a4ccd4cd00ad9ebb"],"basis":"shared function","functions":["createDevMiddleware"]}]}]}}