Moderate severityNVD Advisory· Published Jan 20, 2025· Updated Jan 21, 2025
Cross-Site Scripting (XSS) vulnerability in generateNavigation() function
CVE-2025-22131
Description
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Cross-Site Scripting (XSS) vulnerability in the code which translates the XLSX file into a HTML representation and displays it in the response.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phpoffice/phpspreadsheetPackagist | >= 3.0.0, < 3.8.0 | 3.8.0 |
phpoffice/phpspreadsheetPackagist | < 1.29.8 | 1.29.8 |
phpoffice/phpspreadsheetPackagist | >= 2.0.0, < 2.1.7 | 2.1.7 |
phpoffice/phpspreadsheetPackagist | >= 2.2.0, < 2.3.6 | 2.3.6 |
phpoffice/phpexcelPackagist | <= 1.8.2 | — |
Affected products
1- Range: >= 3.0.0, < 3.8.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-79xx-vf93-p7cxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-22131ghsaADVISORY
- github.com/PHPOffice/PhpSpreadsheet/commit/4088381ccfaf241d7d42c333de0dc8c98e338743ghsax_refsource_MISCWEB
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-79xx-vf93-p7cxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.