ADVISORIES

GitHub Advisory Database

GHSA-r87q-fj25-f8jf

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

Moderate CVE-2024-56364

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)

Affected packages

EcosystemPackageAffected versions
Packagistshuchkin/simplexlsx
From 1.0.12 before 1.1.13 (fixed in 1.1.13)

References