Description
Vite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response due to default CORS settings and lack of validation on the Origin header for WebSocket connections. This vulnerability is fixed in 6.0.9, 5.4.12, and 4.5.6.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected products
- vitejs / vite>= 6.0.0, < 6.0.9 – >= 6.0.0, < 6.0.9
- vitejs / vite>= 5.0.0, < 5.4.12 – >= 5.0.0, < 5.4.12
- vitejs / vite< 4.5.6 – < 4.5.6