CVE-2024-45292: Phpoffice Phpspreadsheet
Medium severity, CVSS 5.4. EPSS: 0.3% chance of exploitation in the next 30 days.
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.
Affected products
- Phpoffice Phpspreadsheet: before 1.29.2 (fixed in 1.29.2); from 2.0.0, before 2.1.1 (fixed in 2.1.1); from 2.2.0, before 2.3.0 (fixed in 2.3.0)
Published 2024-10-07. Last modified 2026-06-17.