Live threats

All CVEs / jasonraimondi

CVE-2024-39918jasonraimondi url-to-png

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Jul 15, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

@jmondi/url-to-png is an open source URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB. Input of the `ImageId` in the code is not sanitized and may lead to path traversal. This allows an attacker to store an image in an arbitrary location that the server has permission to access. This issue has been addressed in version 2.1.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for url-to-png.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @jmondi/url-to-png < 2.1.2 2.1.2 npm install @jmondi/url-to-png@2.1.2

Per OSV / GitHub Advisories (GHSA-vvmv-wrvp-9gjr). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.