Exposure of Sensitive Information to an Unauthorized Actor
CVE-2025-31125
Summary
Vite is a frontend tooling framework for javascript. Vite exposes the 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 issue affects versions prior to 4.5.11, 5.x prior to 5.4.16, 6.0.x prior to 6.0.13, 6.1.x prior to 6.1.3, and 6.2.x prior to 6.2.4.
- HIGH
- NETWORK
- NONE
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- NONE
CWE-200 - Information Exposure
An information exposure vulnerability is categorized as an information flow (IF) weakness, which can potentially allow unauthorized access to otherwise classified information in the application, such as confidential personal information (demographics, financials, health records, etc.), business secrets, and the application's internal environment.
References
Advisory Timeline
- Published