VDB
Sign up
HIGH8.8

GHSA-xcrg-29h7-h4cj

XXE in PHPSpreadsheet due to encoding issue

Quick fix

GHSA-xcrg-29h7-h4cj — phpoffice/phpspreadsheet: upgrade to the fixed version with the command below.

composer require phpoffice/phpspreadsheet:^1.5.1

Details

securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpoffice/phpspreadsheet
Introduced in: 0Fixed in: 1.5.1
Fixcomposer require phpoffice/phpspreadsheet:^1.5.1
Packagist/phpoffice/phpexcel
Introduced in: 0Fixed in: 1.8.2
Fixcomposer require phpoffice/phpexcel:^1.8.2

References