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
- Phpoffice Phpspreadsheet — versions >= 3.0.0, < 3.8.0, >= 2.2.0, < 2.3.6, >= 2.0.0, < 2.1.7
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- s0ck37/CVE-2025-22131-POC (3 stars, last pushed 2025-09-05): POC for the vuln CVE-2025-22131
- ZzN1NJ4/CVE-2025-22131-PoC (1 star, last pushed 2025-09-03): PoC for CVE-2025-22131
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
This CVE has public exploit evidence. See the latest CVEs with public exploits.