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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected products
- vitejs / vite>= 6.2.0, < 6.2.4 β >= 6.2.0, < 6.2.4
- vitejs / vite>= 6.1.0, < 6.1.3 β >= 6.1.0, < 6.1.3
- vitejs / vite>= 6.0.0, < 6.0.13 β >= 6.0.0, < 6.0.13
- vitejs / vite>= 5.0.0, < 5.4.16 β >= 5.0.0, < 5.4.16
- vitejs / vite< 4.5.11 β < 4.5.11
Exploits & PoCs
- nucleiVite Development Server - Path Traversalby martian,ritikchaddha,v2htw