<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 08:44:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-31125 — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-31125</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; vitejs vite&lt;/p&gt;
&lt;p&gt;Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&amp;amp;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; vitejs vite&lt;/p&gt;
&lt;p&gt;Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&amp;amp;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-31125</guid>
    </item>
    <item>
      <title>GHSA-4r4m-qw57-chr8 — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-4r4m-qw57-chr8</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: vite&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The contents of arbitrary files can be returned to the browser.&lt;/p&gt;
&lt;p&gt;### Impact
Only apps explicitly exposing the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) are affected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;- base64 encoded content of non-allowed files is exposed using `?inline&amp;amp;import` (originally reported as `?import&amp;amp;?inline=1.wasm?init`)
- content of non-allowed files is exposed using `?raw?import`&lt;/p&gt;
&lt;p&gt;`/@fs/` isn&amp;#39;t needed to reproduce the issue for files inside the project root.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;Original report (check details above for simplified cases):&lt;/p&gt;
&lt;p&gt;The ?import&amp;amp;?inline=1.wasm?init ending allows attackers to read arbitrary files and returns the file content if it exists.  Base64 decoding needs to be performed twice
```
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```&lt;/p&gt;
&lt;p&gt;Example full URL `http://localhost:5173/@fs/C:/windows/win.ini?import&amp;amp;?inline=1.wasm?init`&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: vite&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;The contents of arbitrary files can be returned to the browser.&lt;/p&gt;
&lt;p&gt;### Impact
Only apps explicitly exposing the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) are affected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;- base64 encoded content of non-allowed files is exposed using `?inline&amp;amp;import` (originally reported as `?import&amp;amp;?inline=1.wasm?init`)
- content of non-allowed files is exposed using `?raw?import`&lt;/p&gt;
&lt;p&gt;`/@fs/` isn&amp;#39;t needed to reproduce the issue for files inside the project root.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;Original report (check details above for simplified cases):&lt;/p&gt;
&lt;p&gt;The ?import&amp;amp;?inline=1.wasm?init ending allows attackers to read arbitrary files and returns the file content if it exists.  Base64 decoding needs to be performed twice
```
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev
```&lt;/p&gt;
&lt;p&gt;Example full URL `http://localhost:5173/@fs/C:/windows/win.ini?import&amp;amp;?inline=1.wasm?init`&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-4r4m-qw57-chr8</guid>
    </item>
  </channel>
</rss>
