Skip to main content
← All vulnerabilities
CVE-2024-21544GHSA-G2R4-PHV7-5FGV

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a spatie/browsershot

    fixed in 5.0.1

  • spatie/browsershotPackagist

    fixed in 5.0.1

References 3

security.snyk.io

GitHub · spatie/browsershot