Vulnerability Details CVE-2024-45046
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In affected versions `\PhpOffice\PhpSpreadsheet\Writer\Html` doesn't sanitize spreadsheet styling information such as font names, allowing an attacker to inject arbitrary JavaScript on the page. As a result an attacker may used a crafted spreadsheet to fully takeover a session of a user viewing spreadsheet files as HTML. This issue has been addressed in release version 2.1.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 30.5%
CVSS Severity
CVSS v3 Score 5.4
Products affected by CVE-2024-45046
-
cpe:2.3:a:phpoffice:phpspreadsheet:-
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.0.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.1.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.10.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.10.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.11.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.12.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.13.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.14.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.14.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.15.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.16.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.17.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.17.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.18.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.19.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.2.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.2.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.20.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.21.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.22.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.23.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.24.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.24.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.26.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.27.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.27.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.28.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.29.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.3.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.3.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.4.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.4.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.6.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.7.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.9.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.0.0