# CVE-2022-43983: Browsershot 3.57.2 - Server Side XSS to LFR via HTML

- Severity: High 8.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-25T00:00:00.000Z
- Modified: 2026-06-17T05:07:35.760Z
- Also known as: GHSA-82h9-v8vh-mfpq
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Fluid Attacks

## 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.

(As written by CVE List.)

## Affected

- spatie/browsershot: 3.57.2
- spatie/browsershot (Packagist): before 3.57.3
- spatie browsershot: 3.57.2

## Every score

- CISA-ADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://fluidattacks.com/advisories/khalid/> (exploit, third-party-advisory)
- <https://github.com/spatie/browsershot/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-43983> (advisory)
- <https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad> (web)
- <https://fluidattacks.com/advisories/khalid> (web)
- <https://github.com/spatie/browsershot> (package)

## Sources

- CVE List: [CVE-2022-43983](https://www.cve.org/CVERecord?id=CVE-2022-43983), CVE Terms of Use, modified 2025-12-03
- GitHub Advisory Database: [GHSA-82h9-v8vh-mfpq](https://github.com/advisories/GHSA-82h9-v8vh-mfpq), CC-BY-4.0, modified 2025-04-29
- NVD: [CVE-2022-43983](https://nvd.nist.gov/vuln/detail/CVE-2022-43983), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-43983 · Whole record: https://cve.day/CVE-2022-43983.json · Rebuilt by cve.day 2026-11-25T22:58:16.952Z
