CVE Catalog

Actively exploited in the wild

Vite Vitejs Improper Access Control Vulnerability

Vite - Vitejs · Listed in the CISA KEV since 2026-01-22. This indicates confirmed attacks in production environments.

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

CVE-2025-31125

MediumCVSS 5.3KEV
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

Exposure of non-allowed file content can lead to leakage of source code, configuration, or sensitive data from the development server.

Recommendation

Update Vite to version 6.2.4, 6.1.3, 6.0.13, 5.4.16, or 4.5.11 (or later) and avoid exposing the development server to the network.

Other vulnerabilities in Vite

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS