Description
Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\\. An attacker could read any file on the server by exploiting the normalization of \ into /.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | spatie/browsershot | < 5.0.2 | 5.0.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | spatie/browsershot | < 5.0.2 | 5.0.2 | GHSA-v528-6rq9-h6gw |