VDB
Sign up
MEDIUM

GHSA-28rm-rj57-qjpv

PHPExcel vulnerable to XXE attacks through libxml

Quick fix

GHSA-28rm-rj57-qjpv — phpoffice/phpexcel: upgrade to the fixed version with the command below.

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpoffice/phpexcel
Introduced in: 0Fixed in: 1.8.0
Fixcomposer require phpoffice/phpexcel:^1.8.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/phpoffice/phpexcel"]}'