Cross-Site Scripting Vulnerability in PhpSpreadsheet by PHPOffice
CVE-2025-22131
5.1MEDIUM
Summary
PhpSpreadsheet, a PHP library designed for reading and writing spreadsheet files, contains a Cross-Site Scripting (XSS) vulnerability. This issue arises in the component responsible for converting XLSX files into HTML format, which can potentially expose users to malicious scripts during file processing and rendering. Attackers may exploit this vulnerability by crafting specially designed XLSX files that, when processed by PhpSpreadsheet, lead to execution of unauthorized scripts in the user's browser, compromising security and user data.
Affected Version(s)
PhpSpreadsheet >= 3.0.0, < 3.8.0 < 3.0.0, 3.8.0
PhpSpreadsheet >= 2.2.0, < 2.3.6 < 2.2.0, 2.3.6
PhpSpreadsheet >= 2.0.0, < 2.1.7 < 2.0.0, 2.1.7
References
CVSS V4
Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved