CVE-2026-108358PHPOffice PhpSpreadsheet
Alta 8.8 Sin autenticación
Seguir: esta CVE · PHPOffice · PHPOffice PhpSpreadsheet Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 4.0
- 8.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 22 oct 2026
- Actualizada
- 23 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para PhpSpreadsheet.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | phpoffice/phpspreadsheet |
≥ 4.0.0 < 5.10.0 |
5.10.0 |
composer require "phpoffice/phpspreadsheet:^5.10.0" |
| Packagist | phpoffice/phpspreadsheet |
≥ 3.3.0 < 3.10.8 |
3.10.8 |
composer require "phpoffice/phpspreadsheet:^3.10.8" |
| Packagist | phpoffice/phpspreadsheet |
≥ 2.2.0 < 2.4.8 |
2.4.8 |
composer require "phpoffice/phpspreadsheet:^2.4.8" |
| Packagist | phpoffice/phpspreadsheet |
≥ 2.0.0 < 2.1.19 |
2.1.19 |
composer require "phpoffice/phpspreadsheet:^2.1.19" |
| Packagist | phpoffice/phpspreadsheet |
< 1.30.7 |
1.30.7 |
composer require "phpoffice/phpspreadsheet:^1.30.7" |
Según OSV / GitHub Advisories (GHSA-3x94-m842-937c). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- PHPOffice · PhpSpreadsheet
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.