Path Traveral in @jmondi/url-to-png
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jasonraimondi | url-to-png | before 2.1.2 | 2.1.2 | Patch available | CNA |
| — | @jmondi/url-to-png (npm) | before 2.1.2 | 2.1.2 | Patch available | GHSA-vvmv-wrvp-9gjr |
- url-to-png Vendorjasonraimondi Affected before 2.1.2 Fixed in 2.1.2 Patch available CNA
- @jmondi/url-to-png (npm) Vendor— Affected before 2.1.2 Fixed in 2.1.2 Patch available GHSA-vvmv-wrvp-9gjr
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jasonraimondi:url-to-png:*:*:*:*:*:*:*:* | — | — | jasonraimondi |
- cpe:2.3:a:jasonraimondi:url-to-png:*:*:*:*:*:*:*:* Versions — — ·jasonraimondi
Remediation
- Fix · CNA url-to-png (jasonraimondi) Fixed in 2.1.2
- Fix · GHSA-vvmv-wrvp-9gjr @jmondi/url-to-png (npm) Fixed in 2.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39918
- 2026-10-03 Alias added: GHSA-vvmv-wrvp-9gjr
References
Other 5
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-vvmv-wrvp-9gjr
- https://github.com/jasonraimondi/url-to-png/commit/e4eaeca6493b21cd515b582fd6c0af09ede54507
- https://github.com/jasonraimondi/url-to-png/blob/e43098e0af3a380ebc044e7f303a83933b94b434/src/middlewares/extract_query_params.ts#L75
- https://github.com/jasonraimondi/url-to-png
- https://github.com/jasonraimondi/url-to-png/releases/tag/v2.1.2
More jasonraimondi vulnerabilities
- TI-2024-26812 Capture screenshot of localhost web services (unauthenticated pages) in @jmondi/url-to-png CVSS 3.1LOW 3.1
- TI-2024-24696 @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-39918 · CVE Program
- CVE-2024-39918 · NVD
- FIRST EPSS
- GHSA-vvmv-wrvp-9gjr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences