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.
References (5)
Core 5
Core References
Vendor Advisory x_refsource_confirm
https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3
Issue Tracking x_refsource_misc
https://github.com/jasonraimondi/url-to-png/issues/47
Patch x_refsource_misc
https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7
Release Notes x_refsource_misc
https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3
Scores
CVSS v3
5.3
EPSS
0.0035
EPSS Percentile
57.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
jasonraimondi/url-to-png
< 2.0.3
jmondi/url-to-png
0 - 2.0.3npm
Published
Jun 10, 2024
Tracked Since
Feb 18, 2026