CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2025-31125: Vite Vitejs Improper Access Control Vulnerability

criticalknown exploitedpublic exploitCVE-2025-31125
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
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.

CSIRTS triage

What
The vulnerability exposes content of non-allowed files due to improper access control when the Vite dev server is exposed to the network.
Who is affected
Only applications explicitly exposing the Vite dev server are affected.
Urgency
Remediation is urgent as the vulnerability is actively exploited and critical.
Action
Restrict access to the Vite dev server or apply the latest updates.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch Vitejs

Get an email when a new Vitejs advisory drops — max one per day, one-click unsubscribe.

Details

Source
CISA Known Exploited Vulnerabilities (US · database · site)
Severity
critical
Published
2026-01-22
Exploitation
Observed in the wild (CISA KEV)

Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-31125

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2025-31125coverage & exploitation statusNVD · CVE.org

More from CISA Known Exploited Vulnerabilities