High severity8.8NVD Advisory· Published Aug 28, 2024· Updated Jun 17, 2026
CVE-2024-45048
CVE-2024-45048
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phpoffice/phpspreadsheetPackagist | < 1.29.1 | 1.29.1 |
phpoffice/phpspreadsheetPackagist | >= 2.2.0, < 2.2.1 | 2.2.1 |
phpoffice/phpspreadsheetPackagist | >= 2.0.0, < 2.1.1 | 2.1.1 |
phpoffice/phpexcelPackagist | <= 1.8.2 | — |
Affected products
4cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*range: <1.29.1
- (no CPE)range: < 2.2.1
- ghsa-coords2 versions
<= 1.8.2+ 1 more
- (no CPE)range: <= 1.8.2
- (no CPE)range: < 1.29.1
Patches
Vulnerability mechanics
References
4- github.com/PHPOffice/PhpSpreadsheet/commit/bea2d4b30f24bcc8a7712e208d1359e603b45ddanvdPatchWEB
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-ghg6-32f9-2jp7nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-ghg6-32f9-2jp7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-45048ghsaADVISORY
News mentions
0No linked articles in our index yet.