CVE-2024-21544

HIGH

Spatie Browsershot < 5.0.1 - Improper Input Validation

Title source: rule
STIX 2.1

Description

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.

Scores

CVSS v3 8.6
EPSS 0.0022
EPSS Percentile 44.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-20
Status published
Products (2)
n/a/spatie/browsershot < 5.0.1
spatie/browsershot 0 - 5.0.1Packagist
Published Dec 13, 2024
Tracked Since Feb 18, 2026