<?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>Thu, 08 Oct 2026 13:28:14 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2024-39918</title>
      <link>https://vulnerability.circl.lu/vuln/fkie_cve-2024-39918</link>
      <description>&lt;p&gt;@jmondi/url-to-png is an open source URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB. Input of the `ImageId` in the code is not sanitized and may lead to path traversal. This allows an attacker to store an image in an arbitrary location that the server has permission to access. This issue has been addressed in version 2.1.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;@jmondi/url-to-png is an open source URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB. Input of the `ImageId` in the code is not sanitized and may lead to path traversal. This allows an attacker to store an image in an arbitrary location that the server has permission to access. This issue has been addressed in version 2.1.2 and all 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/fkie_cve-2024-39918</guid>
    </item>
    <item>
      <title>GHSA-vvmv-wrvp-9gjr — @jmondi/url-to-png contains a Path Traversal vulnerability</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-vvmv-wrvp-9gjr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @jmondi/url-to-png&lt;/p&gt;
&lt;p&gt;### Summary
When trying to add a `BLOCK_LIST` feature when the maintainer noticed they didn&amp;#39;t sanitize the `ImageId` in the code, which leads to path traversal vulnerability. Now, this is different from a traditional path traversal issue, because as of NOW you can store the image in any place arbitrarily, and given enough time they might be able to come up with a working exploit BUT for the time being they am reporting this.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;@jmondi/url-to-png does not sanitizing the `ImageID` as in not removing special chars from the params [(extract_query_params.ts#l75)](https://github.com/jasonraimondi/url-to-png/blob/e43098e0af3a380ebc044e7f303a83933b94b434/src/middlewares/extract_query_params.ts#L75)&lt;/p&gt;
&lt;p&gt;```js
const imageId = dateString + &amp;#34;.&amp;#34; + slugify(validData.url) +configToString(params);
```&lt;/p&gt;
&lt;p&gt;This when fed to other parts of the code such as ([filesystem.ts#L34](https://github.com/jasonraimondi/url-to-png/blob/8afc00247c1d7e6c7b37356a5f6282b486e596fa/src/lib/storage/filesystem.ts#L34))&lt;/p&gt;
&lt;p&gt;```js
return path.join(this.storagePath, imageId) + &amp;#34;.png&amp;#34;;
```&lt;/p&gt;
&lt;p&gt;Would result in path traversal issue.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;```
# Configuration for filesystem storage provider (optional)
STORAGE_PROVIDER=filesystem
IMAGE_STORAGE_PATH=poc
```&lt;/p&gt;
&lt;p&gt;Set this in your `.env` file and use this as your payload.&lt;/p&gt;
&lt;p&gt;```
http://localhost:3089/?url=http://example.com&amp;amp;width=400&amp;amp;isDarkMode=../../../../../../../../../../../../tmp/hack
```&lt;/p&gt;
&lt;p&gt;This will create a `.png` file in the `/tmp` section of the system.&lt;/p&gt;
&lt;p&gt;Loom POC:…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @jmondi/url-to-png&lt;/p&gt;
&lt;p&gt;### Summary
When trying to add a `BLOCK_LIST` feature when the maintainer noticed they didn&amp;#39;t sanitize the `ImageId` in the code, which leads to path traversal vulnerability. Now, this is different from a traditional path traversal issue, because as of NOW you can store the image in any place arbitrarily, and given enough time they might be able to come up with a working exploit BUT for the time being they am reporting this.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;@jmondi/url-to-png does not sanitizing the `ImageID` as in not removing special chars from the params [(extract_query_params.ts#l75)](https://github.com/jasonraimondi/url-to-png/blob/e43098e0af3a380ebc044e7f303a83933b94b434/src/middlewares/extract_query_params.ts#L75)&lt;/p&gt;
&lt;p&gt;```js
const imageId = dateString + &amp;#34;.&amp;#34; + slugify(validData.url) +configToString(params);
```&lt;/p&gt;
&lt;p&gt;This when fed to other parts of the code such as ([filesystem.ts#L34](https://github.com/jasonraimondi/url-to-png/blob/8afc00247c1d7e6c7b37356a5f6282b486e596fa/src/lib/storage/filesystem.ts#L34))&lt;/p&gt;
&lt;p&gt;```js
return path.join(this.storagePath, imageId) + &amp;#34;.png&amp;#34;;
```&lt;/p&gt;
&lt;p&gt;Would result in path traversal issue.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;```
# Configuration for filesystem storage provider (optional)
STORAGE_PROVIDER=filesystem
IMAGE_STORAGE_PATH=poc
```&lt;/p&gt;
&lt;p&gt;Set this in your `.env` file and use this as your payload.&lt;/p&gt;
&lt;p&gt;```
http://localhost:3089/?url=http://example.com&amp;amp;width=400&amp;amp;isDarkMode=../../../../../../../../../../../../tmp/hack
```&lt;/p&gt;
&lt;p&gt;This will create a `.png` file in the `/tmp` section of the system.&lt;/p&gt;
&lt;p&gt;Loom POC:…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-vvmv-wrvp-9gjr</guid>
    </item>
  </channel>
</rss>
