Vite Vitejs contains an improper access control vulnerability that 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.
In het kort
CVE-2025-31125 (Vite Vitejs Improper Access Control) heeft een CVSS 3.1-basisscore van 5.3, beoordeeld als gemiddeld. CISA heeft deze op 22 jan 2026 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden. Opgelost in Vitejs Vite 5.4.16 of later.
Beschrijving
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 3.1-ontleding
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NGetroffen producten
- Vitejs Vite≥ 5.0.0 < 5.4.16 · ≥ 6.0.0 < 6.0.13 · ≥ 6.1.0 < 6.1.3 · ≥ 6.2.0 < 6.2.4
Herstel
Opgelost in- Vitejs Vite≥ 5.4.16
Referenties
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
