Live threats

All CVEs

CVE-2024-21547

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Dec 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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 /.

Original NVD text.

What to do

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist spatie/browsershot < 5.0.2 5.0.2 composer require "spatie/browsershot:^5.0.2"

Per OSV / GitHub Advisories (GHSA-v528-6rq9-h6gw). Check the version in your lockfile before upgrading.

Official sources

References

Links published by the sources. Open them with care.