Advisory

GHSA-82h9-v8vh-mfpq

Also known as: CVE-2022-43983

Summary

Browsershot vulnerable to Cross-Site Scripting (XSS)

Details

Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the HTML content passed to the Browsershot::html method does not contain URL's that use the file:// protocol.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-11-25 18:30 UTC
Modified
2025-04-29 16:20 UTC

Affected packages and fixes

spatie/browsershot

Packagist · All systems

Affected

  • introduced 0, fixed 3.57.3 (ecosystem)

Fixed versions

3.57.3

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