CVE-2026-108358: PHPOffice PhpSpreadsheet · XML External Entity (XXE)
Affects PHPOffice PhpSpreadsheetSource CVE Database V5
Not known to be exploited · CVSS 8.8 High · fixed in 5.10.0 : patch PHPOffice PhpSpreadsheet soon.
Data as of 5 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.8 |
|---|
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.10.0, 3.10.8, 2.4.8 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:L/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PHPOfficePhpSpreadsheet | Affected
| Fixed in
|
| PHPOfficePhpSpreadsheet | Affected
| Fixed in
|
| PHPOfficePhpSpreadsheet | Affected
| Fixed in
|
| PHPOfficePhpSpreadsheet | Affected
| Fixed in
|
| PHPOfficePhpSpreadsheet | Affected
| Fixed in
|
Packagistphpoffice/phpspreadsheetpkg:composer/phpoffice/phpspreadsheetOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade PhpSpreadsheet to versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, or 5.10.0 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
PhpSpreadsheet versions prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0 contain an XML External Entity (XXE) vulnerability due to improper restriction of XML external entity references. The XmlScanner::scan method fails to detect certain escape sequences in XLSX XML parts, allowing attackers to craft malicious XLSX files that can trigger entity expansion denial of service, local file access, or server-side request forgery (SSRF) on affected PHP versions. This vulnerability is fixed in the specified versions.
References
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-3x94-m842-937c (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/89f455c133e1a7e2d4abfadc43ce29eb7450d781 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/980b5c294493856f1a25754f1e8a1d2185b93738 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/9a0b48622ebfe93fa48cb9bc09ce57303bb07af9 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/da13f40e8760d599b0e8a296017d4b028b20e86c (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.7 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.19 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.8 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.8 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.10.0 (opens in a new tab)