Capture screenshot of localhost web services (unauthenticated pages) in @jmondi/url-to-png
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jasonraimondi | url-to-png | before 2.1.1 | 2.1.1 | Patch available | CNA |
| — | @jmondi/url-to-png (npm) | before 2.1.2 | 2.1.2 | Patch available | GHSA-342q-2mc2-5gmp |
- url-to-png Vendorjasonraimondi Affected before 2.1.1 Fixed in 2.1.1 Patch available CNA
- @jmondi/url-to-png (npm) Vendor— Affected before 2.1.2 Fixed in 2.1.2 Patch available GHSA-342q-2mc2-5gmp
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jasonraimondi:url-to-png:-:*:*:*:*:*:*:* | not specified by CISA-ADP | — | jasonraimondi |
- cpe:2.3:a:jasonraimondi:url-to-png:-:*:*:*:*:*:*:* Versions not specified by CISA-ADP — ·jasonraimondi
Remediation
- Fix · CNA url-to-png (jasonraimondi) Fixed in 2.1.1
- Fix · GHSA-342q-2mc2-5gmp @jmondi/url-to-png (npm) Fixed in 2.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39919
- 2026-10-03 Alias added: GHSA-342q-2mc2-5gmp
References
More jasonraimondi vulnerabilities
- TI-2024-26811 Path Traveral in @jmondi/url-to-png CVSS 3.1MEDIUM 4.3
- TI-2024-24696 @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-39919 · CVE Program
- CVE-2024-39919 · NVD
- FIRST EPSS
- GHSA-342q-2mc2-5gmp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences