← Back to CVE List
Vulnerability Intelligence Report
Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

CVE-2025-31125

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.

CISA KEV Nuclei Template SSVC: Active Exploitation
CVSS Base Score
5.3
MEDIUM
Exploitability:1.7
Impact Score:3.6
EPSS Probability:62.10%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-200 ↗CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-284 ↗CWE-284: Improper Access Control

Affected Products & Versions

Vendor Product Affected Versions
vitejs vite >= 6.2.0, < 6.2.4 (affected), >= 6.1.0, < 6.1.3 (affected), >= 6.0.0, < 6.0.13 (affected), >= 5.0.0, < 5.4.16 (affected), < 4.5.11 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

CISA KEV
ACTIVE IN CATALOG
Nuclei Template
SCANNER AVAILABLE
EPSS Score
62.100%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGitHub, Inc. · Vendor · USA
Reserved2025-03-26T15:04:52
Published2025-03-31T17:06:30
Last Updated2026-01-23T16:58:37

LINK COPIED TO CLIPBOARD