GitHub Advisoryadvisory · Packagist

GHSA-v528-6rq9-h6gw Spatie Browsershot Directory Traversal vulnerability

HIGH Published 2024-12-18 Modified 2024-12-18 Official page ↗
Aliases
CVE-2024-21547
Ecosystem
Packagist
Packages
spatie/browsershot
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2024-12-18

Affected packages

• Packagist spatie/browsershot: < 5.0.2 → fixed in 5.0.2

Description

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

Related

Alias · CVE (1)

  • CVE-2024-21547 Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References