Advisory

GHSA-f2q5-6mx7-q9qq

Also known as: CVE-2025-1026

Summary

Browsershot Local File Inclusion

Details

Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method, which results in a Local File Inclusion allowing the attacker to read sensitive files.

Note:

This is a bypass of the fix for CVE-2024-21549.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-02-05 06:30 UTC
Modified
2025-02-05 21:42 UTC

Affected packages and fixes

spatie/browsershot

Packagist · All systems

Affected

  • introduced 0, fixed 5.0.5 (ecosystem)

Fixed versions

5.0.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences