XSS in Spatie Browsershot

CVE-2022-43984

Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the JS content imported from an external source passed to the Browsershot::html method does not contain URLs that use the file:// protocol.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (45.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-43984?
CVE-2022-43984 is a high-severity vulnerability in Spatie Browsershot, classified under Cross-site Scripting. CVSS score: 8.2/10. Published 2022-11-25.
How severe is CVE-2022-43984?
High severity. CVSS v3 base score is 8.2 out of 10.