{"id":"GHSA-rv74-mh27-4jpv","summary":"browsershot local file inclusion vulnerability","details":"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.","aliases":["CVE-2020-7790"],"modified":"2024-02-01T22:12:12.595416Z","published":"2022-05-24T17:36:09Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-02-01T21:49:45Z","nvd_published_at":"2020-12-11T11:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7790"},{"type":"WEB","url":"https://github.com/spatie/browsershot/issues/441%23issue-735049731"},{"type":"WEB","url":"https://github.com/spatie/browsershot/pull/440"},{"type":"WEB","url":"https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064"}],"affected":[{"package":{"name":"spatie/browsershot","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rv74-mh27-4jpv/GHSA-rv74-mh27-4jpv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}