CVE-2025-31125
Published: Mar 31, 2025
Modified: Jan 23, 2026
CVSS v3.1
5.3
Description
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.
| Vendor | Product | Versions |
|---|---|---|
vitejs | vite | affected >= 6.2.0, < 6.2.4affected >= 6.1.0, < 6.1.3affected >= 6.0.0, < 6.0.13affected >= 5.0.0, < 5.4.16affected < 4.5.11 |
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now