GitHub Advisory Database
GHSA-6q49-35h6-rq2p
Browsershot version 3.57.3 vulnerable to improper input validation
Details
Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the JS content imported from an external source passed to the Browsershot::html method does not contain URLs that use the file:// protocol.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | spatie/browsershot | All versions before 3.57.4 (fixed in 3.57.4) |