Affected versions
Composerspatie/browsershot
- Affected versions
- < 3.40.1
- Fixed version
- 3.40.1
Exploitation
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.
Links
- https://github.com/advisories/GHSA-rv74-mh27-4jpv
- https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac
- https://github.com/spatie/browsershot/issues/441%23issue-735049731
- https://github.com/spatie/browsershot/pull/440
- https://nvd.nist.gov/vuln/detail/CVE-2020-7790
- https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064

