What’s Vulnerable › Vulnerabilities

CVE-2024-37169: @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper

Description

@jmondi/url-to-png is a self-hosted URL to PNG utility. Versions prior to 2.0.3 are vulnerable to arbitrary file read if a threat actor uses the Playright's screenshot feature to exploit the file wrapper. Version 2.0.3 mitigates this issue by requiring input URLs to be of protocol `http` or `https`. No known workarounds are available aside from upgrading.

Affected products

How to fix

Upgrade to a fixed version: jasonraimondi url-to-png 2.0.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-37169 or the next vulnerability affects your stack