# CVE-2024-21544: Browsershot Local File Inclusion

Source: https://junglewise.ai/threats/cve-2024-21544-browsershot-local-file-inclusion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-13  
License: CC BY 4.0 with a link back

CVE-2024-21544 · Severity: low · CVSS 3.1 · Published 2024-12-13

Browsershot Local File Inclusion

Technologies: [spatie/browsershot (Packagist)](https://junglewise.ai/threats/technologies/spatie-browsershot). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-21544 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-21544 being exploited in the wild.

**How severe is CVE-2024-21544?** Low severity, with a CVSS score of 3.1, published 13 December 2024.

**Which products and versions are affected?** spatie/browsershot (Packagist) ECOSYSTEM:introduced=0,fixed=5.0.1.

**Is there a fix for CVE-2024-21544?** Yes. spatie/browsershot (Packagist): upgrade to 5.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-21544?** Check whether you run spatie/browsershot (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- spatie/browsershot (Packagist): upgrade to 5.0.1 or later

  ```sh
  composer require spatie/browsershot:^5.0.1
  ```


## Affected products

- spatie/browsershot (Packagist) ECOSYSTEM:introduced=0,fixed=5.0.1

## Identifiers

- CVE-2024-21544
- GHSA-g2r4-phv7-5fgv

## Related threats

- [Browsershot Server-Side Request Forgery (SSRF) via setURL() Function](https://junglewise.ai/threats/cve-2025-3192-browsershot-server-side-request-forgery-ssrf-via-seturl-function)
- [Browsershot Local File Inclusion](https://junglewise.ai/threats/cve-2025-1026-browsershot-local-file-inclusion)
- [Browsershot Path Traversal](https://junglewise.ai/threats/cve-2025-1022-browsershot-path-traversal)
- [Browsershot Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2024-21549-browsershot-improper-input-validation-vulnerability)
- [Spatie Browsershot Directory Traversal vulnerability](https://junglewise.ai/threats/cve-2024-21547-spatie-browsershot-directory-traversal-vulnerability)
