# CVE-2024-37169: @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-06-05T13:29:10.000Z
- Modified: 2026-09-10T03:50:14.979Z
- Also known as: GHSA-665w-mwrr-77q3
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

@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.

(As written by CVE List.)

## Affected

- jasonraimondi url-to-png: < 2.0.3; before 2.0.3
- @jmondi/url-to-png (npm): before 2.0.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3> (web)
- <https://github.com/jasonraimondi/url-to-png/issues/47> (web)
- <https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7> (web)
- <https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3> (web)
- <https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37169> (advisory)
- <https://github.com/jasonraimondi/url-to-png> (package)

## Sources

- CVE List: [CVE-2024-37169](https://www.cve.org/CVERecord?id=CVE-2024-37169), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-665w-mwrr-77q3](https://github.com/advisories/GHSA-665w-mwrr-77q3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-37169](https://nvd.nist.gov/vuln/detail/CVE-2024-37169), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37169 · Whole record: https://cve.day/CVE-2024-37169.json · Rebuilt by cve.day 2026-11-25T22:58:41.657Z
