MediumGHSA-28rm-rj57-qjpvCVE-2014-2054

PHPExcel vulnerable to XXE attacks through libxml

Published 17 May 2022 · Updated 31 Mar 2025

Affected package

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.0

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.