{"id":"CVE-2025-58752","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-58752","generatedAt":"2026-10-28T05:26:13.765Z","title":"Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected.","description":"Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.","published":"2025-09-08T23:15:36.000Z","lastModified":"2026-09-30T23:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":2.3,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-23","CWE-200","CWE-284"],"affected":["vitejs/vite"],"epss":{"score":0.00608,"percentile":0.48871,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.61%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/vitejs/vite/commit/0ab19ea9fcb66f544328f442cf6e70f7c0528d5f","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vitejs/vite/commit/14015d794f69accba68798bd0e15135bc51c9c1e","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vitejs/vite/commit/482000f57f56fe6ff2e905305100cfe03043ddea","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vitejs/vite/commit/6f01ff4fe072bcfcd4e2a84811772b818cd51fe6","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-jqfw-vq24-v9c3","tags":["Exploit","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-jqfw-vq24-v9c3","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-58752","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}