{"id":"CVE-2024-37169","aliases":["CVE-2024-37169","GHSA-665w-mwrr-77q3"],"related":[],"kind":"vulnerability","state":"published","title":"@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAll users of url-to-png. Please see https://github.com/jasonraimondi/url-to-png/issues/47\n\n### Patches\n\n[v2.0.3](https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3) requires input url to be of protocol `http` or `https` \n\n### Workarounds\n\nRequires upgrade.\n\n### References\n\n- https://github.com/jasonraimondi/url-to-png/issues/47\n- https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","format":"markdown","source":"ghsa"},{"lang":"es","text":"@jmondi/url-to-png es una utilidad de URL a PNG autohospedada. Las versiones anteriores a la 2.0.3 son vulnerables a la lectura arbitraria de archivos si un actor de amenazas utiliza la función de captura de pantalla de Playright para explotar el contenedor del archivo. La versión 2.0.3 mitiga este problema al requerir que las URL de entrada sean del protocolo \"http\" o \"https\". No hay workarounds disponibles aparte de la actualización.","source":"nvd"}],"published":"2024-06-05T13:29:10.000Z","modified":"2026-09-10T03:50:14.979Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 2.0.3","status":"affected"}],"vendor":"jasonraimondi","product":"url-to-png","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.0.3","status":"affected"}],"vendor":"jasonraimondi","product":"url-to-png","cpe":"cpe:2.3:a:jasonraimondi:url-to-png:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.3"}],"ecosystem":"npm","package":"@jmondi/url-to-png","purl":"pkg:npm/%40jmondi/url-to-png","source":"ghsa"}],"references":[{"url":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jasonraimondi/url-to-png/issues/47","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37169","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jasonraimondi/url-to-png","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-06-11T17:56:01.581Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-37169","url":"https://www.cve.org/CVERecord?id=CVE-2024-37169","licence":"CVE Terms of Use","modified":"2024-08-02T03:50:55.256Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-665w-mwrr-77q3","url":"https://github.com/advisories/GHSA-665w-mwrr-77q3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:14.979Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-37169","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37169","licence":"Public domain","modified":"2026-06-17T07:37:53.220Z"}],"updatedAt":"2026-11-25T22:58:41.657Z","epss":{"score":0.00529,"percentile":0.46207,"date":"2026-12-01T12:00:22.000Z"}}