CVE-2025-31125HIGH 7.5CISA KEVEPSS p99.0%

CVE-2025-31125Vite Vitejs Improper Access Control Vulnerability

Vite / Vitejs

Description

Vite Vitejs contains an improper access control vulnerability that 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.

Scoring

CVSS 3.17.5 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS59.59% probability of exploitation · percentile 99.0% · 2026-06-18T12:00:27Z
Published2025-03-31
Last modified2026-01-23

CISA KEV entry

Added to KEV: 2026-01-22

Underlying weaknesses· 2

CWE-200CWE-284

References

  1. https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
  2. https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
  3. https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
  4. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125

2

TypeTargetConfidenceTier
WeaknessExposure of Sensitive Information to an Unauthorized Actorcwe-2000%live
WeaknessImproper Access Controlcwe-2840%live

(incoming)1

TypeTargetConfidenceTier
KEVEntryVite Vitejs Improper Access Control Vulnerabilitykev-cve-2025-311250%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-67489
CVE
CVE-2025-24964
CVE
CVE-2025-32642
CVE
CVE-2024-52011
CVE
CVE-2026-41211
CVE
CVE-2025-62751
Sourced from NVD + CISA KEV + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.