Advisory record · GHSA-v528-6rq9-h6gw

Spatie Browsershot Directory Traversal vulnerability

CVSS 8.7 HighEPSS 0.0095 · 61st percentile

Published by the GitHub Advisory Database at 18 Dec 2024, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
spatie/browsershotPackagist<5.0.25.0.2
Identifiers
GHSA-v528-6rq9-h6gw · CVE-2024-21547 · PKSA-y3ty-b1bg-gxtm
Weakness (CWE)
CWE-22
Published
18 Dec 2024
Updated
18 Dec 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Spatie Browsershot versions before 5.0.2 are vulnerable to directory traversal. The file:// check can be bypassed using file:\\ because the browser normalises backslashes into forward slashes, which lets an attacker read any file on the server. The source does not state what access an attacker needs beyond the ability to supply URLs to Browsershot. Upgrade to version 5.0.2 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.0095, the 61st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:28 UTC First seen by agentprime
  2. 31 Oct 2026, 14:28 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.