GHSA-665w-mwrr-77q3

Suggest an improvement
Source
https://github.com/advisories/GHSA-665w-mwrr-77q3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-665w-mwrr-77q3/GHSA-665w-mwrr-77q3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-665w-mwrr-77q3
Aliases
Published
2024-06-05T13:29:10Z
Modified
2026-09-10T03:50:14Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-06-05T13:29:10Z",
    "nvd_published_at":  "2024-06-10T22:15:12Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / @jmondi/url-to-png

Package

Name
@jmondi/url-to-png
View open source insights on deps.dev
Purl
pkg:npm/%40jmondi/url-to-png

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-665w-mwrr-77q3/GHSA-665w-mwrr-77q3.json"