VYPR
Medium severity5.4NVD Advisory· Published Oct 7, 2024· Updated Jun 17, 2026

CVE-2024-45292

CVE-2024-45292

Description

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. \PhpOffice\PhpSpreadsheet\Writer\Html does not sanitize "javascript:" URLs from hyperlink href attributes, resulting in a Cross-Site Scripting vulnerability. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
phpoffice/phpspreadsheetPackagist
>= 2.2.0, < 2.3.02.3.0
phpoffice/phpspreadsheetPackagist
< 1.29.21.29.2
phpoffice/phpspreadsheetPackagist
>= 2.0.0, < 2.1.12.1.1
phpoffice/phpexcelPackagist
<= 1.8.2

Affected products

4

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.