Tools
Log in
English

Learn to codeSecurity check

CVE-2025-31125

HighCVSS 7.5Exploited

CVE-2025-31125 High 7.5 · Vite Vitejs · exploited · details and fixes

Severity
High
Score
7.5 · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Product
Vite Vitejs
Known as
Vite Vitejs Improper Access Control Vulnerability
Published
2025-04-01
Last modified
2026-06-17
Exploitation
Known to be exploited · listed on 2026-01-22

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.

Vendor advisories

Back to the CVE list