{"id":"CVE-2024-39919","aliases":["GHSA-342q-2mc2-5gmp"],"url":"https://o3.security/vulnerability/CVE-2024-39919","summary":"Capture screenshot of localhost web services (unauthenticated pages) in @jmondi/url-to-png","details":"@jmondi/url-to-png is an open source URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB. The package includes an `ALLOW_LIST` where the host can specify which services the user is permitted to capture screenshots of. By default, capturing screenshots of web services running on localhost, 127.0.0.1, or the [::] is allowed. If someone hosts this project on a server, users could then capture screenshots of other web services running locally. This issue has been addressed in version 2.1.1 with the addition of a blocklist. Users are advised to upgrade. There are no known workarounds for this vulnerability.","published":"2024-07-15T19:53:23.192Z","modified":"2026-07-15T01:48:52.660114960Z","cvss":{"score":3.1,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.0037,"percentile":0.29766,"asOf":"2026-07-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@jmondi/url-to-png","fixedVersion":"2.1.2"}],"fix":{"url":"https://github.com/jasonraimondi/url-to-png/commit/f62ff40403ffa1781459d6be8d97b8035888c00c","label":"jasonraimondi/url-to-png@f62ff40"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39919.json"},{"type":"ADVISORY","url":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-342q-2mc2-5gmp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39919"},{"type":"FIX","url":"https://github.com/jasonraimondi/url-to-png/commit/f62ff40403ffa1781459d6be8d97b8035888c00c"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:52.660114960Z"}}