Skip to content
RequestGuard Vulnerabilities
Pricing

CVE record

CVE-2025-31125

Vite Vitejs Improper Access Control Vulnerability

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.

CVE evidence

Known exploitation

Listed in CISA KEV

Absence from the fetched catalog does not establish that exploitation has not occurred.

Severity

moderate

CVSS 5.3 ยท CVSS_V3

Affected packages

1

Supported package records returned by OSV. Vendor and product names are not used to infer matches.

CISA Known Exploited Vulnerabilities

Catalog record

Vendor / project
Vite
Product
Vitejs
Date added
Jan 22, 2026
CISA federal remediation due date
Feb 12, 2026
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.
Known ransomware campaign use
Unknown
CWE
CWE-200, CWE-284

OSV package mapping

Affected open-source packages

PackageEcosystemFixed versions
vitenpm6.2.4, 6.1.3, 6.0.13, 5.4.16, 4.5.11