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 `Currency.php` file. Using the `/vendor/phpoffice/phpspreadsheet/samples/Wizards/NumberFormat/Currency.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.
References
Link | Resource |
---|---|
https://github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4 | Patch |
https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2xg-cjcx-4677 | Exploit Vendor Advisory |
https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2xg-cjcx-4677 | Exploit Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Apr 2025, 17:14
Type | Values Removed | Values Added |
---|---|---|
First Time |
Phpoffice phpspreadsheet
Phpoffice |
|
CPE | cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
References | () https://github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982d0b4 - Patch | |
References | () https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2xg-cjcx-4677 - Exploit, Vendor Advisory | |
Summary |
|
03 Jan 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2xg-cjcx-4677 - |
03 Jan 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-01-03 17:15
Updated : 2025-04-21 17:14
NVD link : CVE-2024-56409
Mitre link : CVE-2024-56409
CVE.ORG link : CVE-2024-56409
JSON object : View
Products Affected
phpoffice
- phpspreadsheet
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')