Koffei

CVE-2025-30208

🟠 Medium

Vite (vitejs) · <4.5.10 ; 5.0.0–5.4.14 ; 6.0.0–6.0.11 ; 6.1.0–6.1.1 ; 6.2.0–6.2.2

CVSS (Koffei note)
5.3
CVSS (v3.1, CVE List)
5.3
EPSS (2026-11-18)
74.771%
99.51th percentile

Exploitation

Not in KEV, but targeted by opportunistic scans (SANS ISC)

Timeline

  1. 24/03/2025CVE record published (CVE List)

Risk

5.3 Medium — AC:H/UI:R, EPSS 75.0% (high despite medium CVSS) (bypass via ?raw??)

Fix

Yes — 4.5.10 / 5.4.15 / 6.0.12 / 6.1.2 / 6.2.3

Official description

Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. `@fs` denies access to files outside of Vite serving allow list. Adding `?raw??` or `?import&raw??` to the URL bypasses this limitation and returns the file content if it exists. This bypass exists because trailing separators such as `?` are removed in several places, but are not accounted for in query string regexes. The contents of arbitrary files can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected. Versions 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10 fix the issue.

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

CWE-200,CWE-284