CVE-2024-37169 json
@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper
published 2024-06-05 2 y ago modified 2026-09-10 1 mo ago also GHSA-665w-mwrr-77q3 , EUVD-2024-1941
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
@jmondi/url-to-png is a self-hosted URL to PNG utility. Versions prior to 2.0.3 are vulnerable to arbitrary file read if a threat actor uses the Playright's screenshot feature to exploit the file wrapper. Version 2.0.3 mitigates this issue by requiring input URLs to be of protocol `http` or `https`. No known workarounds are available aside from upgrading.
Patch / fix
- npm @jmondi/url-to-png 2.0.3
- jasonraimondi url-to-png 2.0.3
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @jmondi/url-to-png | <2.0.3 |
2.0.3 |
Affected products
- jasonraimondi url-to-png
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7
web
-
github.com
/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3
web
-
github.com
/jasonraimondi/url-to-png/issues/47
web
-
github.com
/jasonraimondi/url-to-png/releases/tag/v2.0.3
web
-
github.com
/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapp
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-37169
advisory
-
github.com
/jasonraimondi/url-to-png
package
Sources
- CVE List CVE-2024-37169
- GitHub Advisory GHSA-665w-mwrr-77q3
- NVD CVE-2024-37169
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.