Skip to content
OpenAdvisories
High · 8.8 CVE-2024-45048 EUVD-2024-2584GHSA-ghg6-32f9-2jp7

XML External Entity Reference (XXE) in PHPSpreadsheet

Published Aug 28, 2024 · Updated Aug 29, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
PHPOffice PhpSpreadsheet < 2.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpoffice/phpexcel <= 1.8.2 — GHSA-ghg6-32f9-2jp7
Packagist phpoffice/phpspreadsheet < 1.29.1 1.29.1 GHSA-ghg6-32f9-2jp7
Packagist phpoffice/phpspreadsheet >= 2.2.0, < 2.2.1 2.2.1 GHSA-ghg6-32f9-2jp7
Packagist phpoffice/phpspreadsheet >= 2.0.0, < 2.1.1 2.1.1 GHSA-ghg6-32f9-2jp7

Advisories 1

References