CVE-2024-45048: Phpoffice Phpspreadsheet

Medium severity, CVSS 6.5. EPSS: 0.6% chance of exploitation in the next 30 days.

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Affected versions are subject to a bypassing of a filter which allows for an XXE-attack. This in turn allows attacker to obtain contents of local files, even if error reporting is muted. This vulnerability has been addressed in release version 2.2.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

  • Phpoffice Phpspreadsheet: before 1.29.1 (fixed in 1.29.1); from 2.0.0, before 2.2.1 (fixed in 2.2.1)

Published 2024-08-28. Last modified 2026-06-17.