Lucene search
+L

2 matches found

OSV
OSV
added 2025/03/31 5:31 p.m.14 views

GHSA-4R4M-QW57-CHR8 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

Summary The contents of arbitrary files can be returned to the browser. Impact Only apps explicitly exposing the Vite dev server to the network using --host or server.host config option are affected. Details - base64 encoded content of non-allowed files is exposed using ?inline&import originally...

5.3CVSS6.7AI score0.58801EPSS
SaveExploits9References5
OSV
OSV
added 2024/09/17 6:44 p.m.6 views

GHSA-9CWX-2883-4WFX Vite's `server.fs.deny` is bypassed when using `?import&raw`

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...

6.9CVSS5.9AI score0.0103EPSS
SaveExploits0References8
Rows per page
Query Builder