CVE-2025-31125

5.3 MEDIUM CISA KEV - Actively Exploited
Published: March 31, 2025 Modified: January 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
US Government Resource

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.3 / 10.0
EPSS (Exploit Probability)
74.4%
99th percentile
Exploitation Status
Actively Exploited
Remediation due: 2026-02-12

Weaknesses (CWE)

Affected Vendors

vitejs