- Home
- Vulnerabilities
- CVE-2025-31125
CVE-2025-31125
Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using…
Critical
91/100
Summary
Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. 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 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.
Affected products and versions
Vitejs (5 line(s))
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Vite Development Server - Path Traversalofficial source
Nuclei template
nuclei -u https://VOTRE-HOTE -t http/cves/2025/CVE-2025-31125.yamlSource : Open
Public modules and templates
- Nuclei detection template · https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-31125.yaml
Timeline
- — CVE published (cve)
- — Added to KEV catalogue (cisa-kev)
- — Nuclei detection template (nuclei) date first seen
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Weakness
- NVD-CWE-noinfo · Non classé