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 package | Versions | Reported by |
|---|---|---|
| jasonraimondi url-to-png | < 2.0.3, before 2.0.3 | CVE List |
| @jmondi/url-to-png (npm) | before 2.0.3 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
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
Impact
All users of url-to-png. Please see https://github.com/jasonraimondi/url-to-png/issues/47
Patches
v2.0.3 requires input url to be of protocol http or https
Workarounds
Requires upgrade.
References
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-37169 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-665w-mwrr-77q3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-37169 changed 2026-06-17 | Public domain |