CVE-2024-21549 - CVE House
Back to Database
Status published High CVE-2024-21549

Versions of the package spatie/browsershot before 5.0.3 are vulnerable to...

Vulnerability Description

Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method. An attacker can exploit this vulnerability by utilizing view-source:file://, which allows for arbitrary file reading on a local file. **Note:** This is a bypass of the fix for [CVE-2024-21544](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745).

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21549

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Ahmad Shauqi

Affected Vendor

Affected Software

spatie/browsershot
Vulnerable Versions:
0

Timeline

Official Publish: December 20th, 2024
Last Modified: October 1st, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)