Skip to main content
← All vulnerabilities
CVE-2024-39919GHSA-342Q-2MC2-5GMP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.1, 2.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • jasonraimondi url-to-png

    fixed in 2.1.1

  • @jmondi/url-to-pngnpm

    fixed in 2.1.2

References 2

GitHub · jasonraimondi/url-to-png