GHSA-xcrg-29h7-h4cj
XXE in PHPSpreadsheet due to encoding issue
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | phpoffice/phpspreadsheet | < 1.5.1 | 1.5.1 |
| Packagist | phpoffice/phpexcel | < 1.8.2 | 1.8.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2018-19277
- https://github.com/MewesK/TwigSpreadsheetBundle/issues/18
- https://github.com/PHPOffice/PhpSpreadsheet/issues/771
- https://github.com/PHPOffice/PhpSpreadsheet/pull/780
- https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml
- https://github.com/PHPOffice/PHPExcel/commits/1.8.2
- https://github.com/PHPOffice/PhpSpreadsheet
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1
- https://www.bishopfox.com/news/2018/11/phpoffice-versions
- https://www.drupal.org/sa-contrib-2021-043