MEDIUM · CVSS 6.1 Published: 2025-01-20
CVE-2025-22131 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-22131 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/PHPOffice/PhpSpreadsheet/commit/4088381ccfaf241d7d42c333de0dc8c98e338743
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-79xx-vf93-p7cx
Related Security Advisories
CVE-2025-22130 HIGH 8.8
CVE-2025-22132 HIGH 8.3
CVE-2025-22129 MEDIUM 4.3
CVE-2025-22134 MEDIUM 4.2
CVE-2025-22139 MEDIUM 6.1
CVE-2025-22142 MEDIUM 5.4
CVE-2025-22143 MEDIUM 6.1
CVE-2025-2216 MEDIUM 6.3