high8.8Public exploit code
CVE-2018-19277
XXE in PHPSpreadsheet due to encoding issue
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- PhpSpreadsheet < 1.5.0 - XML External Entity (XXE)2018-11-30 · webapps · php
Impact
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phpoffice/phpspreadsheet | < 1.5.1 | 1.5.1 |
| composer | phpoffice/phpexcel | < 1.8.2 | 1.8.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Phpoffice | Phpspreadsheet | through 1.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/MewesK/TwigSpreadsheetBundle/issues/18
- https://github.com/PHPOffice/PhpSpreadsheet/issues/771
- https://www.bishopfox.com/news/2018/11/phpoffice-versions/
- https://www.drupal.org/sa-contrib-2021-043
- https://github.com/advisories/GHSA-xcrg-29h7-h4cj
- https://nvd.nist.gov/vuln/detail/CVE-2018-19277
- https://github.com/PHPOffice/PhpSpreadsheet/pull/780
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml
- https://www.bishopfox.com/news/2018/11/phpoffice-versions
- https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095
- https://github.com/PHPOffice/PHPExcel/commits/1.8.2