@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper
jasonraimondi url-to-png
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @jmondi/url-to-png npm |
|
|
Original 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.
From the CVE record · GitHub_M