CVE-2024-37169
MEDIUM 5.3CVSS 3.1Arbitrary file read via Playwright's screenshot feature exploiting file wrapper
@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.
- Published
- 10 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-665w-mwrr-77q3
- Sources
- NVDJSONOSV GHSA-665w-mwrr-77q3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @jmondi/url-to-png | < 2.0.3 | 2.0.3 |
References
- https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7 · WEB
- https://github.com/jasonraimondi/url-to-png/issues/47 · WEB
- https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3 · WEB
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3 · 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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Jun 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Jun 2024)