Advisory

GHSA-6q49-35h6-rq2p

Also known as: CVE-2022-43984

Summary

Browsershot version 3.57.3 vulnerable to improper input validation

Details

Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the JS content imported from an external source passed to the Browsershot::html method does not contain URLs 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 15:57 UTC

Affected packages and fixes

spatie/browsershot

Packagist · All systems

Affected

  • introduced 0, fixed 3.57.4 (ecosystem)

Fixed versions

3.57.4

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