Skip to main content
CVE-2024-21544VulnerabilityPublished Updated

CVE-2024-21544: spatie/browsershot · Improper Input Validation

Affects spatie/browsershotSource CVE Database V5

0

Not known to be exploited · CVSS 7.7 High : upgrade to 5.0.1 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade spatie/browsershot to 5.0.1.

Affected software

ProductAffectedFixed in
spatie/browsershotAffected
  • =0
  • <5.0.1
Fixed in
  • 5.0.1

AI-suggested

Upgrade to spatie/browsershot version 5.0.1 or later, where this improper input validation vulnerability is fixed. No other mitigations are indicated. Patch status is confirmed by the version boundary (<5.0.1) and the advisory.

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.

References

Community reviews

Loading reviews…