Back to Database
Status published
Medium
CVE-2025-22131
Cross-Site Scripting (XSS) vulnerability in generateNavigation() function
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-22131
Credits & Attribution
No credits recorded in the NVD database.
References
More from PHPOffice
View All →CVE-2025-54370
PhpSpreadsheet vulnerable to SSRF when reading and displaying a processed HTML document in the browser
High
8.7
CVE-2025-48882
PHPOffice Math allows XXE when processing an XML file in the MathML format
High
8.7
CVE-2025-23210
Bypass XSS sanitizer using the javascript protocol and special characters in phpoffice/phpspreadsheet
Medium
4.8
CVE-2024-56412
PhpSpreadsheet vulnerable to bypass of the XSS sanitizer using the javascript protocol and special characters
Medium
4.8
CVE-2024-56411
PhpSpreadsheet has Cross-Site Scripting (XSS) vulnerability of the hyperlink base in the HTML page header
Medium
4.8
Affected Vendor
PHPOffice
View all reports →Affected Software
PhpSpreadsheet
Vulnerable Versions:
>= 3.0.0, < 3.8.0, >= 2.2.0, < 2.3.6, >= 2.0.0, < 2.1.7, < 1.29.8
Timeline
Official Publish:
January 20th, 2025
Last Modified:
January 21st, 2025
Added to House:
July 22nd, 2026