71

CVE-2025-31125

MEDIUM
CVSS 5.3
ACTIVELY EXPLOITED
EPSS: 66.0%
Published: 31/03/2025
Modified: 23/01/2026
KEV Added: 22/01/2026
Exploit Prediction Score (EPSS)65.97% probability of exploitation (98th percentile)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Vendor: vitejs
Product: vite

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 Threat Analysis
Pro+

Sign in to access AI-powered vulnerability analysis

AI Remediation Playbook
Pro+

Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.

Upgrade to Pro+

AI Attack Path AnalysisPro+

Visualize potential attack chains and lateral movement paths with AI-powered analysis.

AI Risk ForecastingPro+

Predict exploitation likelihood with AI-powered threat intelligence forecasting.

AI Compliance MappingPro+

Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.

Stay Protected with ThreatMonitor

Get instant alerts when new vulnerabilities affect your systems. Track CVE-2025-31125 and other vitejs CVEs with our free account.

Smart Alerts
Bookmark & Track
AI Analysis (Pro+)

Weakness Types (CWE)

Affected Products (5)

cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*