Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query (vitejs vite)
En bref
- Source
- NVD
- EPSS
- EPSS 74.94 % · centile 100 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- vitejs · vite
- Statut NVD
- Analyzed
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-200 — Exposition d'informations sensibles à un acteur non autorisé
- CWE-284 — Contrôle d'accès incorrect
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-4r4m-qw57-chr8 — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Références européennes
- ENISA EUVD · EUVD-2025-8866
- GCVE · GCVE-0-2025-31125
Configurations affectées (CPE NVD)
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*< 4.5.11cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*≥ 5.0.0 < 5.4.16cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*≥ 6.0.0 < 6.0.13cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*≥ 6.1.0 < 6.1.3cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*≥ 6.2.0 < 6.2.4
Produits affectés
| Produit | Versions affectées |
|---|---|
| vitejs · vite | affectée : >= 6.2.0, < 6.2.4 affectée : >= 6.1.0, < 6.1.3 affectée : >= 6.0.0, < 6.0.13 affectée : >= 5.0.0, < 5.4.16 affectée : < 4.5.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |