cve.bz

CVE-2025-31125

7.5 highKEVEPSS 75%

High (7.5) in Vite Vitejs. In CISA KEV since 2026-01-22. EPSS 75% chance of exploitation in the next 30 days. Fixed in vite 4.5.11, 5.4.16, 6.0.13.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
75% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CISA KEV
listed 2026-01-22, due 2026-02-12
CWEs
CWE-200, CWE-284
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4r4m-qw57-chr8npmvite>=6.2.0 <6.2.46.2.4
GHSA-4r4m-qw57-chr8npmvite>=6.1.0 <6.1.36.1.3
GHSA-4r4m-qw57-chr8npmvite>=6.0.0 <6.0.136.0.13
GHSA-4r4m-qw57-chr8npmvite>=5.0.0 <5.4.165.4.16
GHSA-4r4m-qw57-chr8npmvite<4.5.114.5.11

References

Check your stackJSON