CVE-2025-22131
Published:January 20, 2025
Updated:May 17, 2026
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
phpoffice/phpspreadsheet (PHP):
Affected version(s) >=3.3.0 <3.8.0Fix Suggestion:
Update to version 3.8.0phpoffice/phpspreadsheet (PHP):
Affected version(s) >=dev-release <1.29.8Fix Suggestion:
Update to version 1.29.8phpoffice/phpspreadsheet (PHP):
Affected version(s) >=2.0.0 <2.1.7Fix Suggestion:
Update to version 2.1.7phpoffice/phpspreadsheet (PHP):
Affected version(s) >=2.2.0 <2.3.6Fix Suggestion:
Update to version 2.3.6Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.71