Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / spatie/browsershot | affected 0 before 5.0.2 |
CWE
CWE-22
References
- https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8501858
- https://gist.github.com/chuajianshen/baa71db588cfc038fb5d65624a47be81
- https://github.com/spatie/browsershot/commit/dfc3635b83dd980e5c39f8f8c73e87723b99ca01
ADP enrichment
No English description supplied.
No references supplied.