CVE-2025-22131

Severity CVSS v4.0:
MEDIUM
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
20/01/2025
Last modified:
06/03/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 1.29.8 (excluding)
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.0.0 (including) 2.1.7 (excluding)
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.2.0 (including) 2.3.6 (excluding)
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 3.0.0 (including) 3.8.0 (excluding)