CVE-2026-108358
Last modified
CVE-2026-108358 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-108358?
How severe is CVE-2026-108358?
How do I fix CVE-2026-108358?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-108335When the password reset functionality is enabled, and email …9.1
- CVE-2026-108336When the default self-signed certificate is used, an attacke…9.1
- CVE-2026-108337An administrator could retrieve the password reset code for …7.4
- CVE-2026-10834The WP Travel Engine WordPress plugin before 6.8.1 does not…4.6
- CVE-2026-10835The SALESmanago & Leadoo WordPress plugin before 3.11.3 does…7.7
- CVE-2026-108357PhpSpreadsheet is a pure PHP library for reading and writing…8.8
- CVE-2026-108359PhpSpreadsheet is a pure PHP library for reading and writing…8.7
- CVE-2026-10836Improper handling of HTTP headers that allows a remote attac…5.1
- CVE-2026-108360PhpSpreadsheet is a pure PHP library for reading and writing…6.4
- CVE-2026-108361Privasys Remote Attestation TLS Clients provides multi-langu…7.2
- CVE-2026-108362Privasys Remote Attestation TLS Clients provides multi-langu…9.1
- CVE-2026-108366The easy.jobs – AI powered Job Listing, Job Board, Career Pa…6.4
Are you affected by CVE-2026-108358?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
