CVE-2024-37169
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-665w-mwrr-77q3

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

Product or packageVersionsReported by
jasonraimondi url-to-png< 2.0.3, before 2.0.3CVE List
@jmondi/url-to-png (npm)before 2.0.3GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database
NVD (es)

@jmondi/url-to-png es una utilidad de URL a PNG autohospedada. Las versiones anteriores a la 2.0.3 son vulnerables a la lectura arbitraria de archivos si un actor de amenazas utiliza la función de captura de pantalla de Playright para explotar el contenedor del archivo. La versión 2.0.3 mitiga este problema al requerir que las URL de entrada sean del protocolo "http" o "https". No hay workarounds disponibles aparte de la actualización.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-37169 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-665w-mwrr-77q3 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-37169 changed 2026-06-17Public domain