XSS in Phpoffice Phpspreadsheet
CVE-2024-56365
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Versions prior to 3.7.0, 2.3.5, 2.1.6, and 1.29.7 are vulnerable to unauthorized reflected cross-site scripting in the constructor of the `Downloader` class. Using the `/vendor/phpoffice/phpspreadsheet/samples/download.php` script, an attacker can perform a cross-site scripting attack. Versions 3.7.0, 2.3.5, 2.1.6, and 1.29.7 contain a patch for the issue.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (22.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 22.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Phpoffice Phpspreadsheet — versions >= 3.0.0, < 3.7.0, < 1.29.7, >= 2.0.0, < 2.1.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-56365?
- CVE-2024-56365 is a medium-severity vulnerability in Phpoffice Phpspreadsheet, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-01-03.
- How severe is CVE-2024-56365?
- Medium severity. CVSS v3 base score is 5.4 out of 10.