Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-108357
Published:October 22, 2026
Updated:October 23, 2026
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. From 3.3.0 until 3.10.8 and 5.10.0, Reader\Xml passes stored SpreadsheetML XML through XmlScanner::scan in Xml::canRead and Xml::trySimpleXMLLoadStringPrivate, while Xml::unentity decodes numeric entities only after each DOCTYPE pattern check. A double-encoded less-than character is reduced by the first callback to another encoded character and by the second callback to a literal less-than sign, so SimpleXML receives an unchecked DOCTYPE and entity declaration. Processing attacker-controlled SpreadsheetML XML can cause entity-expansion denial of service and can permit local file access or SSRF on PHP before 8.0 or when LIBXML_NOENT is enabled. This issue is fixed in versions 3.10.8 and 5.10.0.
Affected Packages
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=5.0.0 <5.10.0
Fix Suggestion:
Update to version 5.10.0
https://github.com/PHPOffice/PhpSpreadsheet.git (GITHUB):
Affected version(s) >=3.4.0 <3.10.8
Fix Suggestion:
Update to version 3.10.8
phpoffice/phpspreadsheet (PHP):
Affected version(s) >=5.0.0 <5.10.0
Fix Suggestion:
Update to version 5.10.0
phpoffice/phpspreadsheet (PHP):
Affected version(s) >=3.4.0 <3.10.8
Fix Suggestion:
Update to version 3.10.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Improper Restriction of XML External Entity Reference