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)
EPSS: 0.004 (32.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Phpoffice Phpspreadsheet — versions >= 3.0.0, < 3.7.0, < 1.29.7, >= 2.0.0, < 2.1.6
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
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.