{"id":"CVE-2024-37169","summary":"@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper","details":"@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.","aliases":["GHSA-665w-mwrr-77q3"],"modified":"2026-07-15T01:49:19.089133311Z","published":"2024-06-10T21:35:38.198Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37169.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3"},{"type":"WEB","url":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37169.json"},{"type":"ADVISORY","url":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37169"},{"type":"REPORT","url":"https://github.com/jasonraimondi/url-to-png/issues/47"},{"type":"FIX","url":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jasonraimondi/url-to-png","events":[{"introduced":"0"},{"fixed":"9336020c5e603323f5cf4a2ac3bb9a7735cf61f7"},{"fixed":"b63cc0cd330c6f61740152fc4f995a1be3fde9c8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.0.3"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.0.2","v2.0.1","v2.0.0","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.3","v1.3.2","v1.3.1-rc.2","v1.3.1-rc.1","v1.3.2-rc.0","v1.3.1-rc.0","v1.3.1","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.12.3","0.12.2","0.12.1","0.12.0-rc2","0.12.0","0.12.0-rc1","0.11.2","0.11.1","0.11.0","0.10.1","0.10.0","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37169.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}