spatie/browsershot · Vulnerability
cve-program · CVE-2024-21544
PublishedVersions 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-21544 · CVE overview and exploitation status
cve-program · CVE-2024-21544
Related changes
Linked by CVE identifierNo related changes are available here.