Browsershot Local File Inclusion
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method. An attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | spatie/browsershot | < 5.0.1 | 5.0.1 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2024-21544
- https://github.com/spatie/browsershot/commit/fae8396641b961f62bd756920b14f01a4391296e
- https://github.com/spatie/browsershot
- https://github.com/spatie/browsershot/blob/1e212b596c104138550ed4ef1b9977d8df570c67/src/Browsershot.php%23L258-L269
- https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Schwäche (CWE)
CWE-20- Plattform
- Composer
- Paket
spatie/browsershot- Veröffentlicht
- 13.12.2024
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-g2r4-phv7-5fgv - CC BY 4.0
Schwachstellenhistorie: spatie/browsershot
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 10
- Erste → letzte
- 05.2022 04.2025
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 4
- Mittel 6
Veröffentlichungen pro Jahr
- 2022: 4
- 2023: 0
- 2024: 3
- 2025: 3
- 2026: 0
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.