7.5

CVE-2025-31125

Warnung
Medienbericht
Exploit

Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
VitejsVite SwPlatformnode.js Version < 4.5.11
VitejsVite SwPlatformnode.js Version >= 5.0.0 < 5.4.16
VitejsVite SwPlatformnode.js Version >= 6.0.0 < 6.0.13
VitejsVite SwPlatformnode.js Version >= 6.1.0 < 6.1.3
VitejsVite SwPlatformnode.js Version >= 6.2.0 < 6.2.4
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login

22.01.2026: CISA Known Exploited Vulnerabilities (KEV) Catalog

Vite Vitejs Improper Access Control Vulnerability

Schwachstelle

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.

Beschreibung

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Erforderliche Maßnahmen
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 62.1% 0.991
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
security-advisories@github.com 5.3 1.6 3.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

CWE-284 Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Für Zugriff zu Vulnerability Intelligence ist ein VulnDex Zugang erforderlich.
VulnDex Intel
Media Report
26.01.2026 15:00
https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
Patch
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
Vendor Advisory
Exploit
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125
US Government Resource