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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | spatie/browsershot | before 5.0.2 | 5.0.2 | Patch available | CNA |
| — | spatie/browsershot (Packagist) | before 5.0.2 | 5.0.2 | Patch available | GHSA-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
- 2026-10-02 Threatist record created from CVE-2024-21547
- 2026-10-03 Alias added: GHSA-v528-6rq9-h6gw
References
Sources
- CVE-2024-21547 · CVE Program
- CVE-2024-21547 · NVD
- FIRST EPSS
- GHSA-v528-6rq9-h6gw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences