Browsershot
Monthly
Local file read in Spatie Browsershot 2.2.0 through 5.4.x lets an attacker who can influence the HTML handed to setHtml()/html() pull arbitrary server files into the rendered PDF or screenshot. Because that HTML is rendered without a content URL, absolute paths such as /etc/passwd inside iframe, img, link or script elements resolve to file:// URLs that Chrome happily loads, and the file contents then appear in the output the application returns. The practical exposure depends entirely on the integrating application feeding untrusted HTML into this sink; no public exploit code was identified at time of analysis, and a vendor fix ships in 5.5.0, which blocks file: requests from supplied HTML by default.
Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
This affects the package spatie/browsershot from 0.0.0. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
Local file read in Spatie Browsershot 2.2.0 through 5.4.x lets an attacker who can influence the HTML handed to setHtml()/html() pull arbitrary server files into the rendered PDF or screenshot. Because that HTML is rendered without a content URL, absolute paths such as /etc/passwd inside iframe, img, link or script elements resolve to file:// URLs that Chrome happily loads, and the file contents then appear in the output the application returns. The practical exposure depends entirely on the integrating application feeding untrusted HTML into this sink; no public exploit code was identified at time of analysis, and a vendor fix ships in 5.5.0, which blocks file: requests from supplied HTML by default.
Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
This affects the package spatie/browsershot from 0.0.0. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.