Read the docs
TI-2024-14302 Aliases CVE-2024-21547GHSA-v528-6rq9-h6gw

Path traversal in spatie/browsershot

Priority HIGH 77CWE-22Published · 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
High · None · None
Fix status
Fixed

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

Summary

Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\\. An attacker could read any file on the server by exploiting the normalization of \ into /.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00945 61st percentileScored 2026-11-07
Fix Fixed spatie/browsershot: 5.0.2spatie/browsershot (Packagist): 5.0.2

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.25.0.2Patch availableCNA
—spatie/browsershot (Packagist)before 5.0.25.0.2Patch availableGHSA-v528-6rq9-h6gw
  • spatie/browsershot Vendor— Affected before 5.0.2 Fixed in 5.0.2 Patch available CNA
  • spatie/browsershot (Packagist) Vendor— Affected before 5.0.2 Fixed in 5.0.2 Patch available GHSA-v528-6rq9-h6gw

Remediation

  • Fix · CNA spatie/browsershot Fixed in 5.0.2
  • Fix · GHSA-v528-6rq9-h6gw spatie/browsershot (Packagist) Fixed in 5.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21547
  2. 2026-10-03 Alias added: GHSA-v528-6rq9-h6gw

References

Sources