CVE-2022-43983
HIGH 8.2CVSS 3.1Browsershot vulnerable to Cross-Site Scripting (XSS)
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.
- Published
- 25 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- help@fluidattacks.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-82h9-v8vh-mfpq
- Sources
- NVDJSONOSV GHSA-82h9-v8vh-mfpqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | spatie | browsershotcpe:2.3:a:spatie:browsershot:3.57.2:*:*:*:*:*:*:* |
= 3.57.2 | |
| OSV | Packagist | spatie/browsershot | < 3.57.3 | 3.57.3 |
References
- https://fluidattacks.com/advisories/khalid/ · Exploit, Third Party Advisory, WEB
- https://github.com/spatie/browsershot/ · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2022-43983 · ADVISORY
- https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Nov 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Nov 2022)