CVE-2025-31125
MEDIUM KEV NUCLEIVite Development Server - Path Traversal
Title source: nucleiDescription
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.
Exploits (6)
github
WRITEUP
7 stars
by cybersecplayground · poc
https://github.com/cybersecplayground/PoC-and-CVE-Reports/tree/main/2025/CVE-2025-31125.md
nomisec
WORKING POC
by harshgupptaa · infoleak
https://github.com/harshgupptaa/Path-Transversal-CVE-2025-31125-
nomisec
WORKING POC
by MuhammadWaseem29 · infoleak
https://github.com/MuhammadWaseem29/Vitejs-exploit
Nuclei Templates (1)
Vite Development Server - Path Traversal
MEDIUMVERIFIEDby martian,ritikchaddha,v2htw
Shodan:
title:"Vite App"
FOFA:
title="Vite App"
References (3)
Scores
CVSS v3
5.3
EPSS
0.8210
EPSS Percentile
99.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Details
CISA KEV
2026-01-22
VulnCheck KEV
2025-05-30
ENISA EUVD
EUVD-2025-8866
CWE
CWE-284
CWE-200
Status
published
Products (2)
npm/vite
6.2.0 - 6.2.4npm
vitejs/vite
< 4.5.11
Published
Mar 31, 2025
KEV Added
Jan 22, 2026
Tracked Since
Feb 18, 2026