THREAT OPS › Threat News › [GHSA] GHSA-3x94-m842-937c (high) — PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
[GHSA] GHSA-3x94-m842-937c (high) — PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
GHSA-3x94-m842-937c Severity: high CVE: CVE-2026-108358
PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
### Summary PhpSpreadsheet's `XmlScanner::scan()` uses a regex pattern that only accounts for NULL byte (0x00) interleaving when detecting `<!DOCTYPE`. ISO-2022 escape sequences (0x1B bytes) inserted between the characters of the pattern break t
Indicators of compromise
- CVE-2026-108358cve
- http://schemas.openxmlformats.org/spreadsheetml/2006/mainurl
- http://schemas.openxmlformats.org/package/2006/content-typesurl
- http://schemas.openxmlformats.org/package/2006/relationshipsurl
- http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocumenturl
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsurl
- http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheeturl
- http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStringsurl
Original source: https://github.com/advisories/GHSA-3x94-m842-937c