{"id":"CVE-2022-43984","aliases":["EUVD-2022-7259","GHSA-6q49-35h6-rq2p"],"status":"published","title":"Browsershot 3.57.3 - Server Side XSS to LFR via HTML","description":"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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00676,"percentile":0.52519,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-79"],"published":"2022-11-25T00:00:00Z","modified":"2026-10-28T02:31:04Z","fixes":[{"ecosystem":"Packagist","package":"spatie/browsershot","fixed_in":["3.57.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"spatie/browsershot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.57.4"}]}]},{"source":"osv","ecosystem":"Packagist","package":"spatie/browsershot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.57.4"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.7.0","1.8.0","1.9.0","1.9.1","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.2.0","2.3.0","2.4.0","2.4.1","2.4.2","3.0.0","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.13.0","3.14.0","3.14.1","3.15.0","3.16.0","3.16.1","3.17.0","3.18.0","3.19.0","3.2.0","3.2.1","3.20.0","3.20.1","3.22.0","3.22.1","3.23.0","3.23.1","3.24.0","3.25.0","3.25.1","3.26.0","3.26.1","3.26.2","3.26.3","3.27.0","3.29.0","3.3.0","3.3.1","3.30.0","3.31.0","3.31.1","3.32.0","3.32.1","3.32.2","3.33.0","3.33.1","3.34.0","3.35.0","3.36.0","3.37.0","3.37.1","3.37.2","3.38.0","3.39.0","3.4.0","3.40.0","3.40.1","3.40.2","3.40.3","3.41.0","3.41.1","3.41.2","3.42.0","3.44.0","3.44.1","3.45.0","3.46.0","3.47.0","3.48.0","3.49.0","3.5.0","3.50.0","3.50.1","3.50.2","3.51.0","3.52.0","3.52.1","3.52.2","3.52.3","3.52.4","3.52.5","3.52.6","3.53.0","3.54.0","3.55.0","3.56.0","3.57.0","3.57.1","3.57.2","3.57.3","3.6.0","3.7.0","3.8.0","3.8.1","3.9.0"]}],"products":[{"vendor":"spatie","product":"browsershot"}],"references":[{"url":"https://fluidattacks.com/advisories/malone/","tags":["x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/spatie/browsershot/","tags":["x_transferred","Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43984","tags":["advisory"]},{"url":"https://github.com/spatie/browsershot/commit/554c3e566fde8c47ad1ac9be47eaeb9a84c4dfe2","tags":["web"]},{"url":"https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad","tags":["web"]},{"url":"https://fluidattacks.com/advisories/malone","tags":["web"]},{"url":"https://github.com/spatie/browsershot","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6q49-35h6-rq2p"},{"url":"https://packagist.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43984.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-43984","title":"Browsershot 3.57.3 - Server Side XSS to LFR via HTML","description":"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.","status":"published","published":"2022-11-25T00:00:00Z","modified":"2025-12-03T20:10:14.883Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:25.618175Z"}],"euvd":[{"id":"EUVD-2022-7259","description":"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.","status":"published","published":"2022-11-25T00:00:00Z","modified":"2025-12-03T20:10:14Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T19:49:10.321316Z"}],"ghsa":[{"id":"GHSA-6q49-35h6-rq2p","title":"Browsershot version 3.57.3 vulnerable to improper input validation","description":"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.","status":"published","published":"2022-11-25T18:30:25Z","modified":"2025-04-29T15:36:55Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20","CWE-79"],"updated_at":"2026-11-02T14:38:41.402125Z"}],"nvd":[{"id":"CVE-2022-43984","description":"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.","status":"published","published":"2022-11-25T17:15:10.95Z","modified":"2026-06-17T05:07:35.92Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"primary"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:32.827264Z"}],"osv":[{"id":"CVE-2022-43984","title":"Browsershot 3.57.3 - Server Side XSS to LFR via HTML","description":"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.","status":"published","published":"2022-11-25T00:00:00Z","modified":"2026-10-28T02:31:04.516526374Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"GHSA-6q49-35h6-rq2p","title":"Browsershot version 3.57.3 vulnerable to improper input validation","description":"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.","status":"published","published":"2022-11-25T18:30:25Z","modified":"2025-04-29T15:57:40.420485Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20","CWE-79"],"updated_at":"2026-11-02T15:46:39.965326Z"}]}}
