Packagist/phpoffice/phpspreadsheet CVE-2025-22131: medium 6.1, EPSS 0.40%
Cross-Site Scripting (XSS) vulnerability in generateNavigation() function in PhpSpreadsheet
Action: Upgrade phpoffice/phpspreadsheet to 1.29.8 or later.
composer require phpoffice/phpspreadsheet:3.8.0composer require phpoffice/phpspreadsheet:1.29.8composer require phpoffice/phpspreadsheet:2.1.7composer require phpoffice/phpspreadsheet:2.3.6Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.0.0 | 3.8.0 | - |
| 0 | 1.29.8 | - |
| 2.0.0 | 2.1.7 | - |
| 2.2.0 | 2.3.6 | - |
Fixed versions
| 3.8.0 | 1.29.8 | 2.1.7 | 2.3.6 |
Sources
- osv: GHSA-79xx-vf93-p7cx
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-79xx-vf93-p7cx
- https://nvd.nist.gov/vuln/detail/CVE-2025-22131
- https://github.com/PHPOffice/PhpSpreadsheet/commit/4088381ccfaf241d7d42c333de0dc8c98e338743
- https://github.com/PHPOffice/PhpSpreadsheet
CVE-2025-22131 · published · modified · JSON