SocWatch

CVE-2025-31125

Hoch 7,5 Aktiv ausgenutzt

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

CVSS
7,5 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
74,94 % (höher als 99,5 % aller Lücken)
Veröffentlicht
31.03.2025
Zuletzt geändert
17.06.2026

Wird aktiv ausgenutzt

Seit 22.01.2026 in der CISA-Liste ausgenutzter Lücken (KEV). Betroffen: Vite Vitejs.

Empfohlene Maßnahme (CISA): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Öffentlicher Angriffscode

Fertige Exploits gefunden in: nuclei-Template.

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
npm vite ab 6.2.0 vor 6.2.4; ab 6.1.0 vor 6.1.3; ab 6.0.0 vor 6.0.13; ab 5.0.0 vor 5.4.16; alle Versionen vor 4.5.11 6.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11

Quellen

Weitere Kennungen

GHSA-4r4m-qw57-chr8 · CWE-200 · CWE-284

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.