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.
- CVSS
- 5.4Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jan 3, 2025
- In the news
- Not yet
What to do
A moderate cross-site scripting flaw in Phpoffice Phpspreadsheet that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Phpoffice Phpspreadsheet
- < 1.29.7; >= 2.0.0, < 2.1.6; >= 2.2.0, < 2.3.5; >= 3.0.0, < 3.7.0
Description
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2024-56365 published (CVSS 5.4) (Jan 3, 2025)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Jan 3, 2025
- CVECVE-2024-56365 published (CVSS 5.4)CVE Program · 17:15 UTC
References 3
- github.com Patch /PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4#diff-fbb0f53a5c68eeeffaa9…
- github.com ExploitVendor Advisory /PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jmpx-686v-c3wx
- github.com ExploitVendor Advisory /PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jmpx-686v-c3wx