← Back to browse · API

CVE-2025-31125

Severity
MEDIUM
CVSS
5.3
EPSS
0.58801
Risk score
66.78
CISA KEV
Yes
PoC
No
Published
2025-03-31
Modified
2026-01-23
First seen
2026-08-07
Aliases
EUVD-2025-8866, GHSA-4R4M-QW57-CHR8
Products
Vite:Vitejs, vitejs:vite 5.0.0, < 5.4.16, vitejs:vite 6.0.0, < 6.0.13, vitejs:vite 6.1.0, < 6.1.3, vitejs:vite 6.2.0, < 6.2.4, vitejs:vite < 4.5.11
Sources
euvd EUVD-2025-8866
cisa.gov CVE-2025-31125

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.

References