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
Related
Published
2024-06-05T13:29:10Z
Modified
2024-06-11T18:27:37Z
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

  • 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
Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "MODERATE",
    "nvd_published_at": "2024-06-10T22:15:12Z",
    "github_reviewed_at": "2024-06-05T13:29:10Z",
    "github_reviewed": true
}
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
0Unknown introduced version / All previous versions are affected
Fixed
2.0.3