GitHub Advisoryadvisory · Packagist
GHSA-rv74-mh27-4jpv browsershot local file inclusion vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2020-7790
- Ecosystem
- Packagist
- Packages
- spatie/browsershot
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2024-02-01
Affected packages
• Packagist spatie/browsershot: < 3.40.1 → fixed in 3.40.1
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.
Related
Alias · CVE (1)
- CVE-2020-7790 This affects the package spatie/browsershot from 0.0.0. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7790 advisory
- https://github.com/spatie/browsershot/issues/441%23issue-735049731 web
- https://github.com/spatie/browsershot/pull/440 web
- https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac web
- https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064 web