CVE-2024-21544

published 13 Dec 2024 · updated 14 Aug 2026

Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation in the…

8.6HighCVSS 8.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.0.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<5.0.15.0.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21544 severity on Zeptric[![CVE-2024-21544](https://zeptric.io/badge/cve/CVE-2024-21544.svg)](https://zeptric.io/cve/CVE-2024-21544)