{"id":"CVE-2020-7790","published":"2020-12-11T10:50:14Z","modified":"2024-09-16T23:11:42Z","title":"Arbitrary File Read","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package spatie/browsershot from 0.0.0. By specifying a URL in the file:// protocol an attacker is able to include arbitrary files in the resultant PDF.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01034,"percentile":0.64662,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064","tags":["x_refsource_MISC"]},{"url":"https://github.com/spatie/browsershot/issues/441%23issue-735049731","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":12.93},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"spatie/browsershot","versions":[">= 0.0.0, < unspecified"]}],"affected":[{"ecosystem":"Packagist","package":"spatie/browsershot","vulnerableRanges":["<3.40.1"],"patched":["3.40.1"],"from":["GHSA-rv74-mh27-4jpv"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary file read in the spatie/browsershot package, a PHP library for generating screenshots and PDFs from web pages. Given a URL using the file:// protocol, an attacker can cause arbitrary local files to be embedded in the resulting PDF, and the attack needs only network access with no authentication, user interaction, or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:25:57Z"},"euvd":{"id":"EUVD-2022-5235","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7790","published":"2020-12-11","fixed":"3.40.1","kev":false},{"cve":"CVE-2022-41706","published":"2022-11-25","fixed":"3.57.3","kev":false,"link":{"from":"CVE-2020-7790","to":"CVE-2022-41706","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:spatie/browsershot","fromFixed":"3.40.1","toFixed":"3.57.3","daysApart":714}]}},{"cve":"CVE-2022-43983","published":"2022-11-25","fixed":"3.57.3","kev":false,"link":{"from":"CVE-2020-7790","to":"CVE-2022-43983","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:spatie/browsershot","fromFixed":"3.40.1","toFixed":"3.57.3","daysApart":714}]}},{"cve":"CVE-2022-43984","published":"2022-11-25","fixed":"3.57.4","kev":false}],"package":"Packagist:spatie/browsershot"}}