Advisory

GHSA-665w-mwrr-77q3

Also known as: CVE-2024-37169

Summary

Arbitrary file read via Playwright's screenshot feature exploiting file wrapper

Details

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

  • https://github.com/jasonraimondi/url-to-png/issues/47
  • https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-05 13:29 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@jmondi/url-to-png

npm · All systems

Affected

  • introduced 0, fixed 2.0.3 (semver)

Fixed versions

2.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences