CVE-2025-31125
MEDIUM KEV NUCLEIVite Development Server - Path Traversal
Title source: nucleiExploitation Summary
CVE-2025-31125 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added January 22, 2026. EIP tracks 5 public exploits from researchers including cybersecplayground, sunhuiHi666, 0xgh057r3c0n. A Nuclei detection template is also available.
AI-analyzed exploit summary The repository contains detailed technical writeups for multiple CVEs, including command injection, XXE, SQLi, and RCE vulnerabilities. Each writeup includes vulnerability overviews, proof-of-concept details, and mitigation recommendations.
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.
Exploits (5)
The repository contains detailed technical writeups for multiple CVEs, including command injection, XXE, SQLi, and RCE vulnerabilities. Each writeup includes vulnerability overviews, proof-of-concept details, and mitigation recommendations.
This is a Python-based vulnerability scanner for CVE-2025-31125 that checks for exposed file system paths via specific URLs. It supports single and batch target scanning, with results saved to files.
This PoC exploits CVE-2025-31125, a path traversal vulnerability in Vite's WASM import handling, to retrieve sensitive files like `/etc/passwd` from vulnerable servers. It sends crafted requests to extract and decode base64-encoded WASM content.
This is a functional exploit for CVE-2025-31125, a path traversal vulnerability in the Vite development server's @fs endpoint. It crafts URLs to access sensitive files like /etc/passwd and /etc/hosts, decoding base64 responses to retrieve file contents.
This PoC exploits a path traversal vulnerability (CVE-2025-31125) in Vite Development Server's @fs endpoint to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs. It sends HTTP requests to the target, checks for base64-encoded responses, and decodes the data.
Nuclei Templates (1)
title:"Vite App"
title="Vite App"
References (3)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N