CVE-2022-41706: Browsershot 3.57.2 - Server Side XSS to LFR via URL

Published Nov 25, 2022
·
Updated

Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the URL protocol passed to the Browsershot::url method.

Affected Software

2 affected componentsFixes available
spatie browsershot=3.57.2
composer/spatie/browsershot<3.57.3
3.57.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/spatie/browsershot to a version that resolves this vulnerability.

    Fixed in 3.57.3
  2. Upgrade

    Upgrade Browsershot to a version that resolves this vulnerability.

    Fixed in 3.57.2
  3. Configuration

    Validate the URL protocol passed to the Browsershot::url method so the application does not accept unvalidated/unsafe protocols that can lead to server-side XSS to LFR.

    Browsershot (Browsershot::url) URL protocol validation = enabled

Event History

Nov 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:30 PM

Frequently Asked Questions

1

What is the severity of CVE-2022-41706?

CVE-2022-41706 is classified as a critical vulnerability due to its ability to allow remote attackers to access arbitrary local files.

2

How do I fix CVE-2022-41706?

To fix CVE-2022-41706, update Browsershot to version 3.57.3 or later, which includes necessary security validations.

3

What kind of attack vector is associated with CVE-2022-41706?

CVE-2022-41706 allows remote attackers to exploit the vulnerability through improper URL protocol validation in the Browsershot application.

4

What software is affected by CVE-2022-41706?

CVE-2022-41706 specifically affects Spatie Browsershot version 3.57.2.

5

Can CVE-2022-41706 impact my web application?

Yes, if your web application uses Browsershot version 3.57.2, it is at risk of being exploited via CVE-2022-41706.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203