Live › vulnerability › CVE-2025-31125
Go to dashboardVite, a JavaScript build tool, has an access control flaw where its dev server exposes the contents of files it should block when a request uses ?inline&import or ?raw?import. An attacker who can reach the dev server can read those files, which can include secrets or source code.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-23 19:11 UTC, 5h before NVD. All times on this page are UTC.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| Vite Vitejs | vendor | – | – |
| vitejs vite | vendor | < 4.5.11 | 4.5.11 |
| vitejs vite | vendor | >= 5.0.0, < 5.4.16 | 5.4.16 |
| vitejs vite | vendor | >= 6.0.0, < 6.0.13 | 6.0.13 |
| vitejs vite | vendor | >= 6.1.0, < 6.1.3 | 6.1.3 |
| vitejs vite |
| vendor |
| >= 6.2.0, < 6.2.4 |
| 6.2.4 |
What vendors did on their customers’ behalf. Holds only for traffic through them; patching is still the fix.
Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
WAF Release - 2026-02-16 · Changelog
New updates and improvements at Cloudflare.
February 16, 2026
This week’s release introduces new detections for CVE-2025-68645 and CVE-2025-31125.
Key Findings
/h/rest endpoint, improperly influence internal dispatching, and include arbitrary files from the WebRoot directory.?inline&import when its development server is network-exposed, enabling unauthorized attackers to read arbitrary files and potentially leak sensitive information.| Ruleset | Rule ID | Legacy Rule ID | Description | Previous Action | New Action | Comments |
|---|---|---|---|---|---|---|
| Cloudflare Managed Ruleset | ...833761f7 | N/A | Zimbra - Local File Inclusion - CVE:CVE-2025-68645 | Log | Block | This is a new detection. |
| Cloudflare Managed Ruleset | ...950ed8c8 | N/A | Vite - WASM Import Path Traversal - CVE:CVE-2025-31125 | Log | Block | This is a new detection. |
This page as .md · .json · in your agent: get_signal("CVE-2025-31125")
CISA KEV catalog, Creative Commons 0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.