HomeVitejsCVE-2025-31125

CVE-2025-31125

MEDIUM
5.3CVSS
Published: 2025-03-31
Updated: 2026-01-23
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector
network
Complexity
high
Privileges
none
User Action
required
Scope
unchanged
Confidentiality
high
Integrity
none
Availability
none
Weaknesses
CWE-200CWE-284NVD-CWE-noinfo

Metadata

Primary Vendor
VITEJS
Published
3/31/2025
Last Modified
1/23/2026
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

vitejs : vitevitejs : vitevitejs : vitevitejs : vitevitejs : vite

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2025-31125 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com