CVE-2025-58751
1 advisory.
npm/vite CVE-2025-58751: low
Vite middleware may serve files starting with the same name with the public directory
Action: Upgrade vite to 5.4.20 or later.
npm i vite@7.1.5npm i vite@7.0.7npm i vite@6.3.6npm i vite@5.4.20Affected
| introduced | fixed | last affected |
|---|---|---|
| 7.1.0 | 7.1.5 | - |
| 7.0.0 | 7.0.7 | - |
| 6.0.0 | 6.3.6 | - |
| 0 | 5.4.20 | - |
Fixed versions
| 7.1.5 | 7.0.7 | 6.3.6 | 5.4.20 |
Sources
- osv: GHSA-g4jq-h2w9-997c
- https://github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c
- https://nvd.nist.gov/vuln/detail/CVE-2025-58751
- https://github.com/lukeed/sirv/commit/f0113f3f8266328d804ee808f763a3c11f8997eb
- https://github.com/vitejs/vite/commit/09f2b52e8d5907f26602653caf41b3a56692600d
- https://github.com/vitejs/vite/commit/4f1c35bcbb5830290c694aa14b6789e07450f069
- https://github.com/vitejs/vite/commit/63e2a5d232218f3f8d852056751e609a5367aaec
- https://github.com/vitejs/vite/commit/e11d24008b97d4ca731ecc1a3b95260a6d12e7e0
- https://github.com/vitejs/vite
CVE-2025-58751 · published · modified · JSON