GitHub Advisoryadvisory · Packagist

GHSA-82h9-v8vh-mfpq Browsershot vulnerable to Cross-Site Scripting (XSS)

MEDIUM Published 2022-11-25 Modified 2025-04-29 Official page ↗
Aliases
CVE-2022-43983
Ecosystem
Packagist
Packages
spatie/browsershot
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-11-30

Affected packages

• Packagist spatie/browsershot: < 3.57.3 → fixed in 3.57.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-43983 Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References