CVE-2024-37169CWE-22

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

Medium · published June 10, 2024

CVSS v3.1
5.3
EPSS
1%
Percentile
44.0
In the wild
Unconfirmed
What it is

@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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00529 · 44.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-06-10T21:35Z
EPSS history
Timeline
  • 10 JUN 21:35Z
    @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper
    cvelistv5