Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2025-31125

92
FAUCET Score

CVE-2025-31125 is a critical vulnerability affecting the Vite frontend tooling framework, specifically impacting applications that expose the Vite development server to the network. This flaw allows attackers to expose the content of non-allowed files using specific query parameters, leading to information disclosure. With a CVSS score of 7.5 (HIGH), the vulnerability is easily exploitable over the network without authentication or user interaction, posing a significant risk of sensitive data exposure. Notably, this CVE is actively exploited in the wild, as confirmed by its inclusion in CISA's KEV catalog. While no Metasploit modules or ExploitDB entries exist, Nuclei templates are available, and the vulnerability has garnered substantial community discussion and media coverage, underscoring its high profile and the urgency for patching.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.5.11CPE matchmatch criteria
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.4.16CPE matchmatch criteria
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 6.0.0, < 6.0.13CPE matchmatch criteria
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 6.1.0, < 6.1.3CPE matchmatch criteria
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 6.2.0, < 6.2.4CPE matchmatch criteria
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

5.3MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
1.6
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
58.80%
Probability of exploitation in next 30 days
EPSS Percentile
99.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
Added to KEV · Jan 22, 2026
Nuclei: CVE-2025-31125 · Apr 1, 2025
This CVE's current EPSS score of 0.5880 is in the 98th percentile among its peer group of 51,551 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (6)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: viteFixed in: 6.2.4
npmpatch availablevia ghsa
Product: viteFixed in: 6.1.3
npmpatch availablevia ghsa
Product: viteFixed in: 6.0.13
npmpatch availablevia ghsa
Product: viteFixed in: 5.4.16
npmpatch availablevia ghsa
Product: viteFixed in: 4.5.11

Vendor Advisories (2)

npmGHSA-4r4m-qw57-chr8medium

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

Mar 31, 2025
redhatCVE-2025-31125Moderate

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

Mar 31, 2025

References

cisa.gov / known-exploited-vulnerabilities-catalog
US Government Resource
github.com / vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
Patch
github.com / vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
ExploitVendor Advisory