Advisory

GHSA-x6mh-rjwm-8ph7

Also known as: CVE-2024-55878

Summary

Cross-site Scripting vulnerability in SimpleXLSXEx::readXfs and SimpeXLSX::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.12

Workarounds
Don't use direct 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-12 19:22 UTC
Modified
2024-12-12 22:38 UTC

Affected packages and fixes

shuchkin/simplexlsx

Packagist · All systems

Affected

  • introduced 1.0.12, fixed 1.1.12 (ecosystem)

Fixed versions

1.1.12

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