← All CVEs

CVE-2025-31125

medium · 5.3Actively exploited

On the CISA Known Exploited Vulnerabilities catalog

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Added 2026-01-22Remediation due 2026-02-12

A public exploit / detection template exists

Weaponised detection is publicly available, which meaningfully raises real-world risk regardless of CVSS. nuclei-templates

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.

5.3
CVSS
58.5%
EPSS (exploit prob.)
99th
EPSS percentile
2025-03-31
Published

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Weaknesses

CWE-200CWE-284

Affected products

VendorProductAffected versions
vitejsvite< 4.5.11
vitejsvite>= 5.0.0, < 5.4.16
vitejsvite>= 6.0.0, < 6.0.13
vitejsvite>= 6.1.0, < 6.1.3
vitejsvite>= 6.2.0, < 6.2.4

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2025-31125