CVE-2024-39919
LOW 3.1CVSS 3.1@jmondi/url-to-png enables capture screenshot of localhost web services (unauthenticated pages)
@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
- 15 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-342q-2mc2-5gmp
- Sources
- NVDJSONOSV GHSA-342q-2mc2-5gmpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/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.1.2 | 2.1.2 |
References
- https://github.com/jasonraimondi/url-to-png/commit/f62ff40403ffa1781459d6be8d97b8035888c00c · WEB
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-342q-2mc2-5gmp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39919 · ADVISORY
- https://github.com/jasonraimondi/url-to-png · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 15 Jul 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Jul 2024)