CVE-2026-108358: PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
PHPOffice · PhpSpreadsheet
Affected: PHPOffice PhpSpreadsheet · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 50% of scored CVEs
DescriptionCVE.org
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0, XmlScanner::scan in src/PhpSpreadsheet/Reader/Security/XmlScanner.php uses a DOCTYPE detection pattern that accounts for NUL-byte interleaving but not ISO-2022 escape sequences in XLSX XML parts. The escape sequences prevent the scanner from matching the declaration, and XML charset normalization then removes the escape bytes before parsing, exposing a valid DOCTYPE and entity definitions. Processing an attacker-controlled XLSX can therefore cause entity-expansion denial of service on supported PHP versions 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 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- PHPOffice · PhpSpreadsheet< 1.30.7; >= 2.0.0, < 2.1.19; >= 2.2.0, < 2.4.8; >= 3.3.0, < 3.10.8; >= 4.0.0, < 5.10.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- PHPOffice
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-108358 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-611cwe.mitre.org
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-3x9github.com
- github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64agithub.com
- github.com/PHPOffice/PhpSpreadsheet/commit/89f455c133e1a7e2d4abfgithub.com
- github.com/PHPOffice/PhpSpreadsheet/commit/980b5c294493856f1a257github.com
- github.com/PHPOffice/PhpSpreadsheet/commit/9a0b48622ebfe93fa48cbgithub.com
- github.com/PHPOffice/PhpSpreadsheet/commit/da13f40e8760d599b0e8agithub.com
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.7github.com
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.19github.com
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.8github.com
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.8github.com
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.10.0github.com