Home / jasonraimondi / url-to-png / CVE-2024-39918
CVE-2024-39918: is it exploited, and which versions of jasonraimondi url-to-png are affected and fixed?
CVE-2024-39918 is a path traversal (reading or writing files outside the intended folder) vulnerability in jasonraimondi url-to-png. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: @jmondi/url-to-png before 2.1.2 (GitHub advisory GHSA-vvmv-wrvp-9gjr). Fixed in 2.1.2 (GitHub advisory GHSA-vvmv-wrvp-9gjr). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-39918?
Path Traveral in @jmondi/url-to-png
@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.
From the CVE record by GitHub_M, last updated August 2, 2024, 04:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jasonraimondi | url-to-png | < 2.1.2 |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @jmondi/url-to-png | < 2.1.2 | 2.1.2 | GHSA-vvmv-wrvp-9gjr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 15, 2024. Summary: @jmondi/url-to-png contains a Path Traversal vulnerability.
How severe is CVE-2024-39918?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-39918 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 16, 2024)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-vvmv-wrvp-9gjr x_refsource_CONFIRM
- https://github.com/jasonraimondi/url-to-png/commit/e4eaeca6493b21cd515b582fd6c0af09ede54507 x_refsource_MISC
- https://github.com/jasonraimondi/url-to-png/blob/e43098e0af3a380ebc044e7f303a83933b94b434/src/middlewares/extract_query_params.ts#L75 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 2, 2024
- Published
- July 15, 2024, 19:53 UTC
- CVE record updated
- August 2, 2024, 04:33 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:43 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect url-to-png?
- Jul 15, 2024CVE-2024-39919 jasonraimondi url-to-png: information disclosure
- Jun 10, 2024CVE-2024-37169 jasonraimondi url-to-png: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-39918
Is CVE-2024-39918 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of jasonraimondi url-to-png are affected by CVE-2024-39918?
@jmondi/url-to-png before 2.1.2, per the GitHub advisory GHSA-vvmv-wrvp-9gjr. The tables above give every range the sources list.
Which version fixes CVE-2024-39918?
2.1.2, per the GitHub advisory GHSA-vvmv-wrvp-9gjr. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-39918?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-39918?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.