Read the docs
TI-2024-14304 Aliases CVE-2024-21549GHSA-c9f5-29f6-c35w

Improper input validation in spatie/browsershot

Priority HIGH 73CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

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](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745).

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00606 49th percentileScored 2026-11-07
Fix Fixed spatie/browsershot: 5.0.3spatie/browsershot (Packagist): 5.0.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—spatie/browsershotbefore 5.0.35.0.3Patch availableCNA
—spatie/browsershot (Packagist)before 5.0.35.0.3Patch availableGHSA-c9f5-29f6-c35w
  • spatie/browsershot Vendor— Affected before 5.0.3 Fixed in 5.0.3 Patch available CNA
  • spatie/browsershot (Packagist) Vendor— Affected before 5.0.3 Fixed in 5.0.3 Patch available GHSA-c9f5-29f6-c35w

Remediation

  • Fix · CNA spatie/browsershot Fixed in 5.0.3
  • Fix · GHSA-c9f5-29f6-c35w spatie/browsershot (Packagist) Fixed in 5.0.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21549
  2. 2026-10-03 Alias added: GHSA-c9f5-29f6-c35w

References

Sources