XSS in Phpoffice Phpspreadsheet
CVE-2024-56408
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 have no sanitization in the `/vendor/phpoffice/phpspreadsheet/samples/Engineering/Convert-Online.php` file, which leads to the possibility of 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.004 (32.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · 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
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-x88g-h956-m5xg (Exploit, Vendor Advisory)
- github.com/PHPOffice/PhpSpreadsheet/commit/700a80346be269af668914172bc6f4521982… (Patch)
- github.com/PHPOffice/PhpSpreadsheet/commit/9b9a55c7154daa7cd4095f618933c240508b…
- github.com/PHPOffice/PhpSpreadsheet/commit/a50ebfe118b3ae0ddaea1c48ac19dc38692f…
- github.com/PHPOffice/PhpSpreadsheet/commit/b8fac55aa5cb7a3d514c7308378bb37bb711…
Frequently asked questions
- What is CVE-2024-56408?
- CVE-2024-56408 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-56408?
- Medium severity. CVSS v3 base score is 5.4 out of 10.