Reference page — cumulative record through Sunday, October 4, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
CVE-2025-31125
vitejs vite — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
AV AC PR UI S C I A CVSS EPSS %ile KEV
N H N R U H N N 5.3 .6519 99.2 YES
AFFECTED
Product Versions Fixed
vite >= 6.2.0, < 6.2.4 – —
TIMELINE
Mar 26 Reserved by GitHub_M
Mar 31 Published (CNA: GitHub_M)
Jan 22 Added to CISA KEV, remediation due 2026-02-12
Description
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| March 26, 2025 | Reserved | Reserved by GitHub_M |
| March 31, 2025 | Published | Published (CNA: GitHub_M) |
| January 22, 2026 | KEV ADDED | Added to CISA KEV, remediation due 2026-02-12 |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| vitejs | vite | — | >= 6.2.0, < 6.2.4 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-31125 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Sunday, October 4, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.