CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
Vite Vitejs contains an improper access control vulnerability that 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.
CSIRTS triage
- What
- The vulnerability exposes content of non-allowed files due to improper access control when the Vite dev server is exposed to the network.
- Who is affected
- Only applications explicitly exposing the Vite dev server are affected.
- Urgency
- Remediation is urgent as the vulnerability is actively exploited and critical.
- Action
- Restrict access to the Vite dev server or apply the latest updates.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch Vitejs
Get an email when a new Vitejs advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-31125
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Exploitation confirmedCVE-2025-31125Already exploited in the wild (CISA KEV) — the prediction phase is over. Patch now. Riskier than 99% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2025-31125 | coverage & exploitation status | NVD · CVE.org |
More from CISA Known Exploited Vulnerabilities
- criticalCVE-2026-48939: iCagenda Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-10
- criticalCVE-2026-56291: Balbooa Forms Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-10
- criticalCVE-2026-48908: JoomShaper SP Page Builder Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-07
- criticalCVE-2026-55255: Langflow Authorization Bypass Through User-Controlled Key Vulnerability2026-07-07
- criticalCVE-2026-48282: Adobe ColdFusion Path Traversal Vulnerability2026-07-07