Skip to main content
VulnerabilityPublished Updated

CVE-2026-108358: PHPOffice PhpSpreadsheet · XML External Entity (XXE)

Affects PHPOffice PhpSpreadsheetSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PHPOfficePhpSpreadsheetAffected
  • >=4.0.0 <5.10.0
Fixed in
  • 5.10.0
PHPOfficePhpSpreadsheetAffected
  • >=3.3.0 <3.10.8
Fixed in
  • 3.10.8
PHPOfficePhpSpreadsheetAffected
  • >=2.2.0 <2.4.8
Fixed in
  • 2.4.8
PHPOfficePhpSpreadsheetAffected
  • >=2.0.0 <2.1.19
Fixed in
  • 2.1.19
PHPOfficePhpSpreadsheetAffected
  • <1.30.7
Fixed in
  • 1.30.7
Packagistphpoffice/phpspreadsheetpkg:composer/phpoffice/phpspreadsheetOther threatsAffected
  • 4.0.0 – 5.9.0
  • >=4.0.0 <5.10.0
18 affected builds
Fixed in
  • 5.10.0

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

Community reviews

Loading reviews…