CVE-2024-37169
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
Product@jmondi/url-to-png
PublishedJun 10, 2024
First seenJun 10, 2024
Weakness typeCWE-22Path traversal
How to fix
Update
- @jmondi/url-to-png2.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @jmondi/url-to-pngnpm | v < 2.0.3 | 2.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.