Firetruck

CVE-2025-31125

KEV
Updated Jan 23, 2026 · PUBLISHED
View KEV entry →

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.

Full record on cve.org →

Affected packages

PackageVendor / ProductVersion rangeStatus
vitevitejs / vite< 4.5.11affected
vitevitejs / vite>= 5.0.0, < 5.4.16affected
vitevitejs / vite>= 6.0.0, < 6.0.13affected
vitevitejs / vite>= 6.1.0, < 6.1.3affected
vitevitejs / vite>= 6.2.0, < 6.2.4affected