High severityNVD Advisory· Published Aug 28, 2024· Updated Aug 29, 2024
XML External Entity Reference (XXE) in PHPSpreadsheet
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
3- ghsa-coords2 versions
<= 1.8.2+ 1 more
- (no CPE)range: <= 1.8.2
- (no CPE)range: < 1.29.1
- Range: < 2.2.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-ghg6-32f9-2jp7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-45048ghsaADVISORY
- github.com/PHPOffice/PhpSpreadsheet/commit/bea2d4b30f24bcc8a7712e208d1359e603b45ddaghsax_refsource_MISCWEB
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-ghg6-32f9-2jp7ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.