{"id":"CVE-2020-7790","aliases":["CVE-2020-7790","GHSA-rv74-mh27-4jpv"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete Spatie/Browsershot desde versión 0.0.0.&#xa0;Al especificar una URL en el protocolo file://, un atacante es capaz de incluir archivos arbitrarios en el PDF resultante","source":"nvd"}],"published":"2020-12-11T10:50:14.306Z","modified":"2026-06-17T03:25:27.033Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0.0.0","fixed":"unspecified","status":"affected"}],"product":"spatie/browsershot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.40.1"}],"ecosystem":"Packagist","package":"spatie/browsershot","purl":"pkg:composer/spatie/browsershot","source":"ghsa"},{"ranges":[],"vendor":"spatie","product":"browsershot","cpe":"cpe:2.3:a:spatie:browsershot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spatie/browsershot/issues/441%23issue-735049731","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7790","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spatie/browsershot/pull/440","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac","tags":["web"],"sources":["ghsa"]}],"credits":["Anand"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7790","url":"https://www.cve.org/CVERecord?id=CVE-2020-7790","licence":"CVE Terms of Use","modified":"2024-09-16T23:11:42.099Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rv74-mh27-4jpv","url":"https://github.com/advisories/GHSA-rv74-mh27-4jpv","licence":"CC-BY-4.0","modified":"2026-03-13T21:56:47.833Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7790","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7790","licence":"Public domain","modified":"2026-06-17T03:25:27.033Z"}],"updatedAt":"2026-11-25T22:57:56.176Z","epss":{"score":0.01034,"percentile":0.64795,"date":"2026-12-01T12:00:22.000Z"}}