MediumGHSA-28rm-rj57-qjpvCVE-2014-2054
PHPExcel vulnerable to XXE attacks through libxml
Published 17 May 2022 · Updated 31 Mar 2025
Affected package
phpoffice/phpexcelComposer
- Affected
- <1.8.0
- Fixed in
- 1.8.0
Update to the fixed version for your release line, for example:
composer require phpoffice/phpexcel:^1.8.0Details
PHPExcel before 1.8.0, as used in ownCloud Server before 5.0.15 and 6.0.x before 6.0.2, does not disable external entity loading in libxml, which allows remote attackers to read arbitrary files, cause a denial of service, or possibly have other impact via an XML External Entity (XXE) attack.
Is GHSA-28rm-rj57-qjpv in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected phpoffice/phpexcel, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-2054
- Linkgithub.com/PHPOffice/PHPExcel/commit/e04bf7ed091b0a72d028eacf26d770b485d4e897
- Packagegithub.com/PHPOffice/PHPExcel
- Linkgithub.com/PHPOffice/PHPExcel/blob/2b601574975acfb9d4378a788ed5f2b747958095/changelog.txt#L120
- Linkgithub.com/PHPOffice/PHPExcel/blob/develop/changelog.txt
- Linkowncloud.org/about/security/advisories/oC-SA-2014-006
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.