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.
References
Configurations
No configuration.
History
03 Apr 2025, 21:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vitejs/vite/security/advisories/GHSA-xcj6-pq6g-qj4x - |
03 Apr 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-04-03 19:15
Updated : 2025-04-03 21:15
NVD link : CVE-2025-31486
Mitre link : CVE-2025-31486
CVE.ORG link : CVE-2025-31486
JSON object : View
Products Affected
No product.