{"id":"CVE-2020-7790","aliases":["EUVD-2022-5235","GHSA-rv74-mh27-4jpv"],"status":"published","title":"Arbitrary File Read","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01034,"percentile":0.64095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-12-11T10:50:14Z","modified":"2026-06-17T03:25:27Z","fixes":[{"ecosystem":"Packagist","package":"spatie/browsershot","fixed_in":["3.40.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"spatie/browsershot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.40.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"spatie/browsershot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.40.1"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.7.0","1.8.0","1.9.0","1.9.1","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.2.0","2.3.0","2.4.0","2.4.1","2.4.2","3.0.0","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.13.0","3.14.0","3.14.1","3.15.0","3.16.0","3.16.1","3.17.0","3.18.0","3.19.0","3.2.0","3.2.1","3.20.0","3.20.1","3.22.0","3.22.1","3.23.0","3.23.1","3.24.0","3.25.0","3.25.1","3.26.0","3.26.1","3.26.2","3.26.3","3.27.0","3.29.0","3.3.0","3.3.1","3.30.0","3.31.0","3.31.1","3.32.0","3.32.1","3.32.2","3.33.0","3.33.1","3.34.0","3.35.0","3.36.0","3.37.0","3.37.1","3.37.2","3.38.0","3.39.0","3.4.0","3.40.0","3.5.0","3.6.0","3.7.0","3.8.0","3.8.1","3.9.0"]}],"products":[{"vendor":"spatie","product":"browsershot"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/spatie/browsershot/issues/441%23issue-735049731","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7790","tags":["advisory"]},{"url":"https://github.com/spatie/browsershot/pull/440","tags":["web"]},{"url":"https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rv74-mh27-4jpv"}],"sources":{"cve":[{"id":"CVE-2020-7790","title":"Arbitrary File Read","description":"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.","status":"published","published":"2020-12-11T10:50:14.306Z","modified":"2024-09-16T23:11:42.099Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-5235","description":"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.","status":"published","published":"2020-12-11T10:50:14Z","modified":"2024-09-16T23:11:42Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:54:55.705637Z"}],"ghsa":[{"id":"GHSA-rv74-mh27-4jpv","title":"browsershot local file inclusion vulnerability","description":"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.","status":"published","published":"2022-05-24T17:36:09Z","modified":"2024-02-01T21:49:46Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:34.405364Z"}],"nvd":[{"id":"CVE-2020-7790","description":"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.","status":"published","published":"2020-12-11T11:15:11.54Z","modified":"2026-06-17T03:25:27.033Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:27.10541Z"}],"osv":[{"id":"GHSA-rv74-mh27-4jpv","title":"browsershot local file inclusion vulnerability","description":"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.","status":"published","published":"2022-05-24T17:36:09Z","modified":"2026-03-13T21:56:47.833365Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:56.281047Z"}]}}
