Vulnerability Details CVE-2024-47873
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. The XmlScanner class has a scan method which should prevent XXE attacks. However, prior to versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0, the regexes used in the `scan` method and the findCharSet method can be bypassed by using UCS-4 and encoding guessing. An attacker can bypass the sanitizer and achieve an XML external entity attack. Versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0 fix the issue.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 8.0%
CVSS Severity
CVSS v3 Score 7.5
Products affected by CVE-2024-47873
-
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.29.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.29.2
-
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
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.1.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.1.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.3.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:3.3.0