CVE-2025-31125
Vite Vitejs Improper Access Control Vulnerability
Source 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.
Published: Unknown · Modified: Unknown
Products and platforms
Vite Vitejs — Upstream vendor/product label
Defensive 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.
Official sources
NVD record · CVE Program · FIRST EPSS methodology
Vendor advisory referenced by source
CVSS measures technical severity. EPSS estimates exploitation probability, not your individual exposure. A missing KEV listing is not proof of safety. Product configuration matches may include version and environment conditions.