Cross-site Scripting Vulnerability in PHPOffice PhpSpreadsheet Library
CVE-2025-23210
4.8MEDIUM
What is CVE-2025-23210?
The PHPOffice PhpSpreadsheet library, widely used for reading and writing spreadsheet files in PHP, suffers from a vulnerability that allows attackers to bypass the Cross-site Scripting (XSS) sanitization process when using the javascript protocol and specific characters. This flaw affects several versions of the library, emphasizing the importance for users to upgrade to the latest versions (3.9.0, 2.3.7, 2.1.8, and 1.29.9) to mitigate potential security risks. As there are no known workarounds to address this vulnerability, updating is the only recommended action.
Affected Version(s)
PhpSpreadsheet >= 3.0.0, < 3.9.0 < 3.0.0, 3.9.0
PhpSpreadsheet >= 2.2.0, < 2.3.7 < 2.2.0, 2.3.7
PhpSpreadsheet >= 2.0.0, < 2.1.8 < 2.0.0, 2.1.8