{"id":"EUVD-2025-9734","enisaUuid":"d8e42436-d317-32ef-8279-c079deb82e94","description":"Vite is a frontend tooling framework for javascript. The contents of arbitrary files can be returned to the browser. By adding ?.svg with ?.wasm?init or with sec-fetch-dest: script header, the server.fs.deny restriction was able to bypass. This bypass is only possible if the file is smaller than build.assetsInlineLimit (default: 4kB) and when using Vite 6.0+. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 4.5.12, 5.4.17, 6.0.14, 6.1.4, and 6.2.5.","datePublished":"Apr 3, 2025, 6:24:39 PM","dateUpdated":"Apr 3, 2025, 8:39:28 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","references":"https://github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x\nhttps://github.com/vitejs/vite/commit/62d7e81ee189d65899bb65f3263ddbd85247b647\nhttps://github.com/vitejs/vite/blob/037f801075ec35bb6e52145d659f71a23813c48f/packages/vite/src/node/plugins/asset.ts#L285-L290\n","aliases":"CVE-2025-31486\nGHSA-xcj6-pq6g-qj4x\n","assigner":"GitHub_M","epss":40.46,"enisaIdProduct":[{"id":"5a4f4fd6-d41d-3bc4-a21c-3c253ac36a1b","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"5.0.0, \u003c 5.4.17"},{"id":"8d7eab81-821a-31ed-9de3-e12056f0e3c7","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.0.0, \u003c 6.0.14"},{"id":"902e0380-d24e-3f3c-819e-e3164c2e6659","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.2.0, \u003c 6.2.5"},{"id":"c6203995-6a82-3461-bf7e-fe5bd6dab7ad","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.1.0, \u003c 6.1.4"},{"id":"f634740f-1f53-375c-b8cd-4defb0831417","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"\u003c 4.5.12"}],"enisaIdVendor":[{"id":"adc1b46f-ea83-3b88-8d62-b35aadab3525","vendor":{"name":"vitejs"}}],"enisaIdVulnerability":[{"id":"4dcafa05-cbe6-3031-a5c6-394e879d65d9","vulnerability":{"id":"GHSA-xcj6-pq6g-qj4x","description":"Vite allows server.fs.deny to be bypassed with .svg or relative paths","datePublished":"Apr 4, 2025, 2:20:05 PM","dateUpdated":"Apr 30, 2025, 5:26:53 PM","baseScore":0.0,"references":"https://github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-31486\nhttps://github.com/vitejs/vite/commit/62d7e81ee189d65899bb65f3263ddbd85247b647\nhttps://github.com/vitejs/vite\nhttps://github.com/vitejs/vite/blob/037f801075ec35bb6e52145d659f71a23813c48f/packages/vite/src/node/plugins/asset.ts#L285-L290\n","enisa_id":"EUVD-2025-9734\n","aliases":"CVE-2025-31486\nGHSA-xcj6-pq6g-qj4x\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:42:04 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"a2a68954-a3d9-3d9a-b32c-0caff77aa636","vulnerability":{"id":"CVE-2025-31486","description":"Vite is a frontend tooling framework for javascript. The contents of arbitrary files can be returned to the browser. By adding ?.svg with ?.wasm?init or with sec-fetch-dest: script header, the server.fs.deny restriction was able to bypass. This bypass is only possible if the file is smaller than build.assetsInlineLimit (default: 4kB) and when using Vite 6.0+. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 4.5.12, 5.4.17, 6.0.14, 6.1.4, and 6.2.5.","datePublished":"Apr 3, 2025, 6:24:39 PM","dateUpdated":"Apr 3, 2025, 8:39:28 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","references":"https://github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x\nhttps://github.com/vitejs/vite/commit/62d7e81ee189d65899bb65f3263ddbd85247b647\nhttps://github.com/vitejs/vite/blob/037f801075ec35bb6e52145d659f71a23813c48f/packages/vite/src/node/plugins/asset.ts#L285-L290\n","enisa_id":"EUVD-2025-9734\n","assigner":"GitHub_M","epss":40.46,"dataProcessed":"Nov 16, 2026, 7:17:55 AM","vulnerabilityProduct":[{"id":"10485ce9-581b-3fea-bc6c-495c6c0c31b2","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.0.0, \u003c 6.0.14"},{"id":"16a1d712-1af7-315b-960f-2975238493d6","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.2.0, \u003c 6.2.5"},{"id":"539869f5-6ea8-3a42-b80d-2a199377af29","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"5.0.0, \u003c 5.4.17"},{"id":"b3823383-2e47-31dd-bc91-f23434ab2f2e","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"\u003c 4.5.12"},{"id":"e3db54e5-42cb-346b-b3d0-bb8c0d237d3a","product":{"name":"vite","vendor":{"name":"vitejs"}},"product_version":"6.1.0, \u003c 6.1.4"}],"vulnerabilityVendor":[{"id":"2986a50d-ff29-30cf-a2bf-d16aff8d59e8","vendor":{"name":"vitejs"}}]}}],"enisaIdAdvisory":[]}