CVE Explore

Improper input validation in Spatie/browsershot

CVE-2024-21544

CVSS v3
8.6 High
Public exploits
None known
EPSS
0.006 · 48.2th percentile
Published
2024-12-13

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.006, 48.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Spatie/browsershot — versions 0

Weakness classification (CWE)

References