CVE-2024-55878 Cross-site Scripting vulnerability in SimpleXLSXEx::readXfs and SimpeXLSX::toHTMLEx
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-55878?
CVE-2024-55878 is a medium-severity vulnerability in shuchkin simplexlsx, published on 12 Dec 2024.
Official description
SimpleXLSX is software for parsing and retrieving data from Excel XLSx files. Starting in version 1.0.12 and prior to version 1.1.12, when calling the extended toHTMLEx method, it is possible to execute arbitrary JavaScript code. Version 1.1.12 fixes the issue. As a workaround, don't use direct publication via toHTMLEx.
Weakness: CWE-79
Which versions are affected by CVE-2024-55878?
2 open source packages ship an affected version, including shuchkin/simplexlsx.
| Package | Affected | Fixed in |
|---|---|---|
shuchkin/simplexlsx Packagist | From 1.0.12 | 1.1.12 |
shuchkin/simplexlsx Packagist | From 1.0.12 | 1.1.12 |
How do I fix CVE-2024-55878?
Upgrade shuchkin/simplexlsx to 1.1.12 or later.
Is CVE-2024-55878 being exploited?
There is no known exploitation of CVE-2024-55878 in the wild and no public exploit code.
Sources
Also known as GHSA-x6mh-rjwm-8ph7.