# CVE-2024-56364: Cross-site Scripting vulnerability in SimpleXLSXEx::readThemeColors, SimpleXLSXEx::getColorValue and SimpleXLSX::toHTMLEx

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-12-23T15:52:06.327Z
- Modified: 2026-06-17T08:12:06.997Z
- Also known as: GHSA-r87q-fj25-f8jf
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SimpleXLSX is software for parsing and retrieving data from Excel XLSx files. Starting in 1.0.12 and ending in 1.1.13, when calling the extended toHTMLEx method, it is possible to execute arbitrary JavaScript code. This vulnerability is fixed in 1.1.13.

(As written by CVE List.)

## Affected

- shuchkin simplexlsx: >= 1.0.12, < 1.1.13
- shuchkin/simplexlsx (Packagist): from 1.0.12 before 1.1.13

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/shuchkin/simplexlsx/security/advisories/GHSA-r87q-fj25-f8jf> (web)
- <https://github.com/shuchkin/simplexlsx/commit/71a5e3d40d14e33161f8a40b3fd02de542218ef0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56364> (advisory)
- <https://github.com/shuchkin/simplexlsx> (package)

## Sources

- CVE List: [CVE-2024-56364](https://www.cve.org/CVERecord?id=CVE-2024-56364), CVE Terms of Use, modified 2024-12-28
- GitHub Advisory Database: [GHSA-r87q-fj25-f8jf](https://github.com/advisories/GHSA-r87q-fj25-f8jf), CC-BY-4.0, modified 2024-12-23
- NVD: [CVE-2024-56364](https://nvd.nist.gov/vuln/detail/CVE-2024-56364), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56364 · Whole record: https://cve.day/CVE-2024-56364.json · Rebuilt by cve.day 2026-11-25T22:58:50.327Z
