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)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS 0.004, 34.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References