Vulnerability details
CVE-2024-56409
PHPOffice PhpSpreadsheet
PhpSpreadsheet vulnerable to unauthorized reflected XSS in Currency.php file
CVSS 4.0
8.3High
Official 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 `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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.3High | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| PHPOffice | PhpSpreadsheet | < 1.29.7 | CVEProject cvelistV5 (CNA) |
| PHPOffice | PhpSpreadsheet | >= 2.0.0, < 2.1.6 | CVEProject cvelistV5 (CNA) |
| PHPOffice | PhpSpreadsheet | >= 2.2.0, < 2.3.5 | CVEProject cvelistV5 (CNA) |
| PHPOffice | PhpSpreadsheet | >= 3.0.0, < 3.7.0 | CVEProject cvelistV5 (CNA) |
References and advisories
2
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-01-03
- Last updated
- 2025-01-03
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.34%
Probability of exploitation in 30 days
27.7%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')