CVE-2024-21544
Severity CVSS v4.0:
HIGH
Type:
CWE-20
Input Validation
Publication date:
13/12/2024
Last modified:
04/02/2025
Description
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method.<br />
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.
Impact
Base Score 4.0
7.70
Severity 4.0
HIGH
Base Score 3.x
8.60
Severity 3.x
HIGH