CVE-2024-21544 - CVE House
Back to Database
Status published High CVE-2024-21544

Versions of the package spatie/browsershot before 5.0.1 are vulnerable to...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21544

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Muhammad Firdaus Amran

Affected Vendor

Affected Software

spatie/browsershot
Vulnerable Versions:
0

Timeline

Official Publish: December 13th, 2024
Last Modified: October 1st, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)