Read the docs
TI-2024-26812 Aliases CVE-2024-39919GHSA-342q-2mc2-5gmp

Capture screenshot of localhost web services (unauthenticated pages) in @jmondi/url-to-png

Priority MEDIUM 48CWE-200Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00373 31st percentileScored 2026-11-07
Fix Fixed url-to-png (jasonraimondi): 2.1.1@jmondi/url-to-png (npm): 2.1.2

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

VendorProductAffected versionsFixed inStatusSource
jasonraimondiurl-to-pngbefore 2.1.12.1.1Patch availableCNA
—@jmondi/url-to-png (npm)before 2.1.22.1.2Patch availableGHSA-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

CPEVersionsRoleVendor
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

  1. 2026-10-02 Threatist record created from CVE-2024-39919
  2. 2026-10-03 Alias added: GHSA-342q-2mc2-5gmp

References

  • 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