Skip to content

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

MediumCVSS 5.3 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
jasonraimondi url-to-png < 2.0.3; = < 2.0.3 2.0.3 Fixed
jmondi @jmondi/url-to-png(npm) < 2.0.3 2.0.3 Fixed

Affected products

ProductAffected versionsFixed in
jmondi @jmondi/url-to-png(npm) < 2.0.3 2.0.3
jasonraimondi url-to-png = < 2.0.3 No fix listed
jasonraimondi url-to-png < 2.0.3 2.0.3

References