Amenazas en vivo

Todas las CVE / Phpoffice

CVE-2019-12331Phpoffice Phpspreadsheet

Alta 8.8 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Phpspreadsheet.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
phpofficephpspreadsheet< 1.8.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.