synced 14 MIN AGO
01 Record

CVE-2025-31125

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

MediumKEVPUBLISHEDCNA: GitHub_M
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

02 Description

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

03 Exploitation and scoring

Exploitation
Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2026-01-22. Federal remediation due 2026-02-12.
SSVC decision
  • ExploitationactiveCISA reports credible evidence of active exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
74.93% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 99.5% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-03-31 17:06Z1 YR AGO
Last updated
2026-01-23 16:58Z9 MO AGO
Reserved
2025-03-26
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Weaknesses
  • CWE-200Exposure of Sensitive Information to an Unauthorized ActorClass
  • CWE-284Improper Access ControlPillar
  • CWE-73External Control of File Name or PathBase
Data version
5.2
Document digest
157e31d651cfa28b04acf71b7526d9c7e82177c1609e3b47a56d275d939b27f7

05 Affected products

VendorProductVersionsPlatforms
vitejsvite>= 6.2.0, < 6.2.4, >= 6.1.0, < 6.1.3, >= 6.0.0, < 6.0.13, >= 5.0.0, < 5.4.16, < 4.5.11—

06 References