Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @jmondi/url-to-png
  4. ›
  5. CVE-2024-39918

CVE-2024-39918: @jmondi/url-to-png contains a Path Traversal vulnerability

July 15, 2024

When trying to add a BLOCK_LIST feature when the maintainer noticed they didn’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.

References

  • github.com/advisories/GHSA-vvmv-wrvp-9gjr
  • github.com/jasonraimondi/url-to-png
  • github.com/jasonraimondi/url-to-png/commit/e4eaeca6493b21cd515b582fd6c0af09ede54507
  • github.com/jasonraimondi/url-to-png/releases/tag/v2.1.2
  • github.com/jasonraimondi/url-to-png/security/advisories/GHSA-vvmv-wrvp-9gjr
  • nvd.nist.gov/vuln/detail/CVE-2024-39918

Code Behaviors & Features

Detect and mitigate CVE-2024-39918 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.1.2

Fixed versions

  • 2.1.2

Solution

Upgrade to version 2.1.2 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Source file

npm/@jmondi/url-to-png/CVE-2024-39918.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:56 +0000.