GHSA-rv74-mh27-4jpv
browsershot local file inclusion vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | spatie/browsershot | < 3.40.1 | 3.40.1 |
Details
As written in the advisory (Markdown source, shown as plain 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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7790
- https://github.com/spatie/browsershot/issues/441%23issue-735049731
- https://github.com/spatie/browsershot/pull/440
- https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac
- https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064