XSS in Phpoffice Phpspreadsheet

CVE-2025-22131

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.007 (72.5th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-22131?
CVE-2025-22131 is a vulnerability in Phpoffice Phpspreadsheet, classified under Cross-site Scripting. Published 2025-01-20.
Is CVE-2025-22131 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.