{"answers":{"affected":"2 open source packages ship an affected version, including @nuxt/vite-builder.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24360 exists.","fix":"Upgrade @nuxt/vite-builder to 3.15.3 or later.","what":"CVE-2025-24360 is a medium-severity vulnerability in nuxt, published on 25 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-24360 and fix it if it is affected.\n\nWhat it is: CVE-2025-24360 is a medium-severity vulnerability in nuxt, published on 25 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24360 exists.\n\nAffected packages and fixed versions:\n- @nuxt/vite-builder (npm): affected from 3.8.1; fixed in 3.15.3\n- @nuxt/vite-builder (npm): affected from 3.8.1; fixed in 3.15.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24360/ (Markdown: https://insights.sbomify.com/CVE-2025-24360/index.md)","id":"CVE-2025-24360","markdown":"https://insights.sbomify.com/CVE-2025-24360/index.md","name":"CVE-2025-24360","record":{"aliases":["CLSA-2026-1776040400","CLSA-2026-1792161444","CLSA-2026-1792161585","CLSA-2026-1792161808","CLSA-2026-1792161921","CLSA-2026-1792232953","GHSA-2452-6xj8-jh47"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nuxt development framework","requires_auth":"none","summary":"A malicious website can steal source code from a running Nuxt development server due to permissive default CORS settings.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Opening a malicious website while running a Nuxt dev server could allow read-only access to code","id":"CVE-2025-24360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":2,"n_references":6,"next":{"headline":"Opening a malicious website while running a Nuxt dev server could allow read-only access to code","id":"CVE-2025-24361"},"packages":[{"ecosystem":"npm","fixed":["3.15.3"],"introduced":["3.8.1"],"last_affected":[],"package":"@nuxt/vite-builder","purl":null,"source":"GHSA-2452-6xj8-jh47"},{"ecosystem":"npm","fixed":["3.15.3"],"introduced":["3.8.1"],"last_affected":[],"package":"@nuxt/vite-builder","purl":"pkg:npm/%40nuxt/vite-builder","source":"GHSA-2452-6xj8-jh47"}],"prev":{"headline":"ASTEVAL Vulnerable to Maliciously Crafted Format Strings Leading to Sandbox Escape","id":"CVE-2025-24359"},"products":["nuxt"],"published":"2025-01-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["nuxt"]},"summary":"A malicious website can steal source code from a running Nuxt development server due to permissive default CORS settings.","url":"https://insights.sbomify.com/CVE-2025-24360/"}