Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-37169 EUVD-2024-1941GHSA-665w-mwrr-77q3

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

Published Jun 10, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
jasonraimondi url-to-png < 2.0.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @jmondi/url-to-png < 2.0.3 2.0.3 GHSA-665w-mwrr-77q3

References