cve.bz

CVE-2024-45811

4.8 mediumEPSS 1.1%

Medium (4.8). EPSS 1.1% chance of exploitation in the next 30 days. Fixed in vite 3.2.11, 4.5.4, 5.1.8.

Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. `@fs` denies access to files outside of Vite serving allow list. Adding `?import&raw` to the URL bypasses this limitation and returns the file content if it exists. This issue has been patched in versions 5.4.6, 5.3.6, 5.2.14, 4.5.5, and 3.2.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
1.1% chance of exploitation in the next 30 days; higher than 65% of CVEs (scores of 2026-10-31)
CWEs
CWE-200, CWE-284
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9cwx-2883-4wfxnpmvite>=5.4.0 <5.4.65.4.6
GHSA-9cwx-2883-4wfxnpmvite>=5.3.0 <5.3.65.3.6
GHSA-9cwx-2883-4wfxnpmvite>=5.2.0 <5.2.145.2.14
GHSA-9cwx-2883-4wfxnpmvite>=4.0.0 <4.5.44.5.4
GHSA-9cwx-2883-4wfxnpmvite<3.2.113.2.11
GHSA-9cwx-2883-4wfxnpmvite>=5.0.0 <5.1.85.1.8

References

Check your stackJSON