CVE-2025-31125

unknown KEV
Published 2025-03-31 · Modified 2026-01-22
CVSS v3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v2
VIR risk
1.5

Description

Vite Vitejs contains an improper access control vulnerability that 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.

CISA KEV

Vendor
Vite
Product
Vitejs
Due date
2026-02-12

Predictions

Exploit likelihood
99%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: cisa-kev — This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 ; https://nvd.nist.gov/vuln/detail/CVE-2025-31125

Exploits

Package impact

EcosystemPackageVulnerableFixed
npm npmvite>=6.2.0,<6.2.46.2.4
npm npmvite>=6.1.0,<6.1.36.1.3
npm npmvite>=6.0.0,<6.0.136.0.13
npm npmvite>=5.0.0,<5.4.165.4.16
npm npmvite<4.5.114.5.11

References

Verify integrity in audit chain (admin only). AS-IS.