Skip to main content
← All vulnerabilities
CVE-2024-21549GHSA-C9F5-29F6-C35W

Versions of the package spatie/browsershot before 5.0.3 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.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method. An attacker can exploit this vulnerability by utilizing view-source:file://, which allows for arbitrary file reading on a local file. Note: This is a bypass of the fix for CVE-2024-21544.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • n/a spatie/browsershot

    fixed in 5.0.3

  • spatie/browsershotPackagist

    fixed in 5.0.3

References 3

security.snyk.io

GitHub · spatie/browsershot