CVE-2024-21544CWE-20
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method
High · published December 13, 2024
What it is
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method.
An attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.
The record
Technical detail
- CVSS v4.0
- 7.7 · HIGH
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P
- EPSS
- 0.00572 · 46.5th percentile
- Weakness
- CWE-20 · Improper Input Validation
- Published
- 2024-12-13T05:00Z
EPSS history
Timeline