Skip to main content
← All vulnerabilities
CVE-2024-21547GHSA-V528-6RQ9-H6GW

Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a spatie/browsershot

    fixed in 5.0.2

  • spatie/browsershotPackagist

    fixed in 5.0.2

References 3

security.snyk.io

gist.github.com

GitHub · spatie/browsershot