CVE-2025-31125 · NVD published 31 Mar 2025
Vite Vitejs
On CISA's KEV list 297 days after disclosure; 6 public exploits.
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.
CISA required action (federal due date 12 Feb 2026): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Signals
- KEV, exploited in the wild
- yes, added 22 Jan 2026, due 12 Feb 2026
- EPSS, 30-day forecast
- 75%, 100th percentile (as of 18 Nov 2026)
- CVSS, NVD, MEDIUM
- 5.3
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 31 Mar 2025 to today
- Disclosed
- First PoC+1 d
- KEV+296 d
296 days from the first proof of concept to the KEV listing
Detect it 3 rules · Sigma · QRadar · Cortex
Generated by skopnix from this finding, each with false-positive notes. Open the list →
Linked 3 in our graph
Rules that detect it
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 6 known · links only
GitHub PoCs 6Metasploit 0Exploit-DB 0
GitHub PoCs, by trust then stars6
- sunhuiHi666/CVE-2025-31125Trust ok 1006 stars
Vite 任意文件读取漏洞POC
created 1 Apr 2025
- 0xgh057r3c0n/CVE-2025-31125Trust ok 1000 stars
Vite WASM Import Path Traversal 🛡️
created 7 May 2025
- harshgupptaa/Path-Transversal-CVE-2025-31125-Trust ok 1000 stars
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.
created 13 Jul 2025
- MuhammadWaseem29/Vitejs-exploitTrust ok 1000 stars
Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs.
created 3 May 2025
- nak000/Vitejs-exploit-CVE-2025-31125-rceNot checked
first seen by skopnix 18 Oct 2026
- zr1p3r/CVE-2025-31125Not checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Nuclei detection templates1
Path traversal vulnerability in Vite development server's @fs endpoint allows attackers to access files outside the intended directory. When exposed to the network, attackers can exploit this via crafted URLs to access sensitive system files.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.