BlogPHP2Shell Exploitation: How Secure.com Can Protect YouRead more
← CVE Radar

CVE-2025-31125Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

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.

7.5 HIGHEPSS 74.93%⚡ Known Exploited (CISA KEV)NVD: Analyzed

Overview

Severity

ScoreSeverityVersionVector String
7.5HIGH3.1NVDCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
5.3MEDIUM3.1GitHub_M (CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA required action

⚡ Known exploited · remediation due Feb 12, 2026

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Details

CVE ID
CVE-2025-31125
Status
Analyzed
Assigner (CNA)
GitHub_M
Published
Mar 31, 2025
Last modified
2026-06-17 09:09 UTC
Weaknesses
  • CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-284 · Improper Access Control

Sources

Refreshed hourly from the sources above. Last fetched 2026-11-08 10:34 UTC.