Back to CVE records
High 8.8Published Oct 22, 2026

CVE-2026-108358PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service

Updated under an hour ago ()

Does this affect you?

It affects PHPOffice PhpSpreadsheet. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.48%, higher than 41% of scored CVEs.

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.

CVSS
8.8 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-611, CWE-776
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.48% (percentile 41)
Assigned by
GitHub_M
NVD analysis
Awaiting Analysis
Record last updated
Oct 23, 2026
First seen by InfoSec Signals
Oct 22, 2026

Affected products

Affected products
PHPOffice PhpSpreadsheet
phpoffice:phpspreadsheet (from the name)
before 1.30.7; from 2.0.0, < 2.1.19; from 2.2.0, < 2.4.8; from 3.3.0, < 3.10.8; from 4.0.0, < 5.10.0
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.