CVE-2019-12331Phpoffice Phpspreadsheet
Alta 8.8 Sin autenticación
Seguir: esta CVE · Phpoffice · Phpoffice Phpspreadsheet Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 72
- Requiere autenticación
- No
- Publicada
- 7 nov 2019
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
PHPOffice PhpSpreadsheet before 1.8.0 has an XXE issue. The XmlScanner decodes the sheet1.xml from an .xlsx to utf-8 if something else than UTF-8 is declared in the header. This was a security measurement to prevent CVE-2018-19277 but the fix is not sufficient. By double-encoding the the xml payload to utf-7 it is possible to bypass the check for the string ‚<!ENTITY‘ and thus allowing for an xml external entity processing (XXE) attack.
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/phpexcel |
≤ 1.8.2 |
sin versión corregida | — |
| Packagist | phpoffice/phpspreadsheet |
< 1.8.0 |
1.8.0 |
composer require "phpoffice/phpspreadsheet:^1.8.0" |
Según OSV / GitHub Advisories (GHSA-vvwv-h69m-wg6f). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| phpoffice | phpspreadsheet | < 1.8.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- herolab.usd.de Exploit Third Party Advisory