{"cve":"CVE-2024-45811","nvd":{"published":"2024-09-17T20:15:05.800","modified":"2026-06-17T07:54:51.767","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","score":4.8},"cwes":["CWE-200","CWE-284"],"references":["https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34","https://github.com/vitejs/vite/security/advisories/GHSA-9cwx-2883-4wfx"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-45811","score":0.01096,"percentile":0.65578,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9cwx-2883-4wfx","url":"https://osv.dev/vulnerability/GHSA-9cwx-2883-4wfx","summary":"Vite's `server.fs.deny` is bypassed when using `?import&raw`","modified":"2026-09-10T03:50:18.095447094Z","packages":[{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=5.4.0 <5.4.6"],"fixed":["5.4.6"]},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=5.3.0 <5.3.6"],"fixed":["5.3.6"]},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=5.2.0 <5.2.14"],"fixed":["5.2.14"]},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=4.0.0 <4.5.4"],"fixed":["4.5.4"]},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":["<3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[">=5.0.0 <5.1.8"],"fixed":["5.1.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}