Advisory

GHSA-r87q-fj25-f8jf

Also known as: CVE-2024-56364

Summary

Cross-site Scripting vulnerability in SimpleXLSXEx::readThemeColors, SimpleXLSXEx::getColorValue and SimpleXLSX::toHTMLEx

Details

Impact
When calling the extended toHTMLEx method, it is possible to execute arbitrary JavaScript code.

Patches
The supplied patch resolves this vulnerability for SimpleXLSX. Use 1.1.13

Workarounds
Don't use data publication via toHTMLEx

***
This vulnerability was discovered by Aleksey Solovev (Positive Technologies)

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-12-23 18:18 UTC
Modified
2024-12-23 21:01 UTC

Affected packages and fixes

shuchkin/simplexlsx

Packagist · All systems

Affected

  • introduced 1.0.12, fixed 1.1.13 (ecosystem)

Fixed versions

1.1.13

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences