{"id":"CVE-2022-43984","published":"2022-11-25T00:00:00Z","modified":"2025-12-03T20:10:14Z","title":"Browsershot 3.57.3 - Server Side XSS to LFR via HTML","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00639,"percentile":0.50612,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://fluidattacks.com/advisories/malone/","tags":[]},{"url":"https://github.com/spatie/browsershot/","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.12},{"name":"CVSS severity","points":5.74}]},"affectedVersions":[{"vendor":"n/a","product":"Browsershot","versions":["3.57.3"]}],"affected":[{"ecosystem":"Packagist","package":"spatie/browsershot","vulnerableRanges":["<3.57.4"],"patched":["3.57.4"],"from":["GHSA-6q49-35h6-rq2p"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-7259","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-spatie-browsershot-cve-2022-41706","children":[{"from":"CVE-2022-43984","to":"CVE-2024-21547","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Browsershot.php"],"commits":["https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad","https://github.com/spatie/browsershot/commit/554c3e566fde8c47ad1ac9be47eaeb9a84c4dfe2","https://github.com/spatie/browsershot/commit/dfc3635b83dd980e5c39f8f8c73e87723b99ca01"],"basis":"shared function","functions":["setUrl"]}]},{"from":"CVE-2022-43984","to":"CVE-2024-21549","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Browsershot.php"],"commits":["https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad","https://github.com/spatie/browsershot/commit/554c3e566fde8c47ad1ac9be47eaeb9a84c4dfe2","https://github.com/spatie/browsershot/commit/f791ce0ae8dd99367dbfa30588ee31e1196e1728"],"basis":"shared function","functions":["setUrl"]}]},{"from":"CVE-2022-43984","to":"CVE-2025-1022","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Exceptions/FileUrlNotAllowed.php"],"commits":["https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad","https://github.com/spatie/browsershot/commit/554c3e566fde8c47ad1ac9be47eaeb9a84c4dfe2","https://github.com/spatie/browsershot/commit/bcfd608b264fab654bf78e199bdfbb03e9323eb7","https://github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72"],"basis":"shared function","functions":["setUrl"]}]},{"from":"CVE-2022-43984","to":"CVE-2025-1026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Exceptions/FileUrlNotAllowed.php"],"commits":["https://github.com/spatie/browsershot/commit/92cf16fc098211731f80d21687abeafbe2c457ad","https://github.com/spatie/browsershot/commit/554c3e566fde8c47ad1ac9be47eaeb9a84c4dfe2","https://github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72"],"basis":"shared function","functions":["setUrl"]}]}],"packageHistory":[{"cve":"CVE-2020-7790","published":"2020-12-11","fixed":"3.40.1","kev":false},{"cve":"CVE-2022-41706","published":"2022-11-25","fixed":"3.57.3","kev":false,"link":{"from":"CVE-2022-41706","to":"CVE-2022-43984","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:spatie/browsershot","fromFixed":"3.57.3","toFixed":"3.57.4","daysApart":0},{"kind":"similar","provenance":"machine","score":0.7,"basis":"same package + description similarity"}]}},{"cve":"CVE-2022-43983","published":"2022-11-25","fixed":"3.57.3","kev":false},{"cve":"CVE-2022-43984","published":"2022-11-25","fixed":"3.57.4","kev":false},{"cve":"CVE-2024-21544","published":"2024-12-13","fixed":"5.0.1","kev":false},{"cve":"CVE-2024-21547","published":"2024-12-18","fixed":"5.0.2","kev":false},{"cve":"CVE-2024-21549","published":"2024-12-20","fixed":"5.0.3","kev":false}],"package":"Packagist:spatie/browsershot"}}