high8.2
CVE-2022-43983
Browsershot vulnerable to Cross-Site Scripting (XSS)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | spatie/browsershot | < 3.57.3 | 3.57.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Spatie | Browsershot | Version 3.57.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://fluidattacks.com/advisories/khalid/
- https://github.com/spatie/browsershot/
- https://github.com/advisories/GHSA-82h9-v8vh-mfpq
- https://nvd.nist.gov/vuln/detail/CVE-2022-43983
- https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad
- https://fluidattacks.com/advisories/khalid
- https://github.com/spatie/browsershot