CVE-2025-31125 - Vite Vitejs
AI Vulnerability ContextVite 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.
Overview
A source-backed snapshot of this vulnerability.
CISA KEVyesWhether CISA lists this as exploited.
Techniques0AI attack methods connected to this vulnerability.
Case studies0Examples where this vulnerability is mentioned.
Vulnerability status
How serious this vulnerability is and whether it is known to be exploited.
CISA KEVMEDIUM
- CVE ID
- CVE-2025-31125
- Vendor/project
- Vite
- Product
- Vitejs
- Vulnerability name
- Vite Vitejs Improper Access Control Vulnerability
- Date added
- 2026-01-22
- Due date
- 2026-02-12
- Known ransomware campaign use
- Unknown
- CVSS v3
- 5.3
CWE-200CWE-284
Exploit context
What the vulnerability is about.
No description available. The source record only contains identifiers and metadata.
Source evidence
Original public records and references for this page.
Original source
Original source links
Open the public records and source datasets used for this page.
NVD CVE pagehttps://nvd.nist.gov/vuln/detail/CVE-2025-31125CVE API docshttps://nvd.nist.gov/developers/vulnerabilitiesData feedshttps://nvd.nist.gov/vuln/data-feedsCataloghttps://www.cisa.gov/known-exploited-vulnerabilities-catalogData repositoryhttps://github.com/cisagov/kev-datasecurity-advisories@github.comhttps://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949134c704f-9b21-4f2e-91b3-4a467353bcc0https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8134c704f-9b21-4f2e-91b3-4a467353bcc0https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125
