CVE-2024-56366Phpoffice Phpspreadsheet
Alta 8.3 Sin autenticación
Seguir: esta CVE · Phpoffice · Phpoffice Phpspreadsheet Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 65
- CVSS 4.0
- 8.3
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 35
- Requiere autenticación
- No
- Publicada
- 3 ene 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L/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 PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the `Accounting.php` file. Using the `/vendor/phpoffice/phpspreadsheet/samples/Wizards/NumberFormat/Accounting.php` script, an attacker can perform a cross-site scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.
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 |
≥ 3.0.0 < 3.7.0 |
3.7.0 |
composer require "phpoffice/phpspreadsheet:^3.7.0" |
| Packagist | phpoffice/phpspreadsheet |
< 1.29.7 |
1.29.7 |
composer require "phpoffice/phpspreadsheet:^1.29.7" |
| Packagist | phpoffice/phpspreadsheet |
≥ 2.0.0 < 2.1.6 |
2.1.6 |
composer require "phpoffice/phpspreadsheet:^2.1.6" |
| Packagist | phpoffice/phpspreadsheet |
≥ 2.2.0 < 2.3.5 |
2.3.5 |
composer require "phpoffice/phpspreadsheet:^2.3.5" |
Según OSV / GitHub Advisories (GHSA-c6fv-7vh8-2rhr). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| phpoffice | phpspreadsheet | < 1.29.7 |
| phpoffice | phpspreadsheet | ≥ 2.0.0 < 2.1.6 |
| phpoffice | phpspreadsheet | ≥ 2.2.0 < 2.3.5 |
| phpoffice | phpspreadsheet | ≥ 3.3.0 < 3.7.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Exploit Vendor Advisory