rewindex

RewindexCVEs

CVE-2025-31125: Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

Medium · CVSS 5.3 (CVSS 3.1)KEV known exploitedEPSS 65.8%, 99th percentilePublished Updated Assigner: GitHub_M

In CISA’s Known Exploited Vulnerabilities catalog: Vite Vitejs Improper Access Control Vulnerability.

Added , federal remediation due . Known ransomware use: Unknown.

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

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.

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N · CWE-200, CWE-284

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

vitejs: vite

References

All CVEsMarkdownJSON