Vulnerability Details CVE-2019-12331
PHPOffice PhpSpreadsheet before 1.8.0 has an XXE issue. The XmlScanner decodes the sheet1.xml from an .xlsx to utf-8 if something else than UTF-8 is declared in the header. This was a security measurement to prevent CVE-2018-19277 but the fix is not sufficient. By double-encoding the the xml payload to utf-7 it is possible to bypass the check for the string ‚<!ENTITY‘ and thus allowing for an xml external entity processing (XXE) attack.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.003
EPSS Ranking 54.8%
CVSS Severity
CVSS v3 Score 8.8
CVSS v2 Score 6.8
Products affected by CVE-2019-12331
-
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.2.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.2.1
-
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