GitHub Advisory Database
GHSA-82h9-v8vh-mfpq
Browsershot vulnerable to Cross-Site Scripting (XSS)
Details
Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the HTML content passed to the Browsershot::html method does not contain URL's that use the file:// protocol.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | spatie/browsershot | All versions before 3.57.3 (fixed in 3.57.3) |