SARA / Free Tools / CVE / CVE-2025-31125

CVE-2025-31125 — Vite is a frontend tooling framework for javascript

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

CVSS
5.3
EPSS
83.24% (top 1.00%)
CWE
CWE-200, CWE-284
Published
2025-03-31 (1y 2m ago)
Last modified
2026-01-23
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CISA KEV — Actively Exploited
Added to KEV
BOD 22-01 due
Ransomware use

01What is this vulnerability?

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.

02Affected products

No structured affected-product list available — see references below for vendor advisories.

03Active exploitation status

Yes — actively exploited. Added to the CISA KEV catalog on —.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:

Open in Sigma generator →

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

No additional references available in the KB record.

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →