CVE-2025-31125
7.5 Élevée Exploitée activementCatalogue CISA KEV — Vite Vitejs Improper Access Control Vulnerability
Ajoutée le 22/01/2026 · Échéance de correction (agences US) : 12/02/2026
Action requise : Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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.
Produits concernés
Scores CVSS
| Version | Score | Source | Vecteur |
|---|---|---|---|
| 3.1 | 5.3 Moyenne | security-advisories@github.com | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| 3.1 | 7.5 Élevée | nvd@nist.gov (NVD) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Faiblesses (CWE)
Références
- https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 Patch
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8 ExploitVendor Advisory
- https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8 ExploitVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125 US Government Resource