Vulnerability

CVE-2025-31125

highknown exploitedCVSS 3.1 7.5Published 31 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Vitejs vite

Weakness type

References

  • github.com /vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949
  • github.com /vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8
  • www.cisa.gov /known-exploited-vulnerabilities-catalog

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning