← Back to CVEs
CVE-2025-31125
MEDIUMCISA KEV5.3
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.
CVE Details
CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionREQUIRED
Published3/31/2025
Last Modified1/23/2026
Sourcekev
Honeypot Sightings0
CISA KEV
VendorVite
ProductVitejs
Vulnerability NameVite Vitejs Improper Access Control Vulnerability
KEV Date Added2026-01-22
Remediation Due Date2026-02-12
Ransomware UseUnknown
Affected Products
vitejs:vite
Weaknesses (CWE)
CWE-200CWE-284
References
https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949(security-advisories@github.com)
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8(security-advisories@github.com)
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8(134c704f-9b21-4f2e-91b3-4a467353bcc0)
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.