phpoffice/phpspreadsheet · Security
XXE in PHPSpreadsheet due to encoding issue
- GHSA ID
- GHSA-xcrg-29h7-h4cj
- CVE ID
- CVE-2018-19277
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
CWEs
- CWE-91 · XML Injection (aka Blind XPath Injection)
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-19277 ↗
- https://github.com/MewesK/TwigSpreadsheetBundle/issues/18 ↗
- https://github.com/PHPOffice/PhpSpreadsheet/issues/771 ↗
- https://www.drupal.org/sa-contrib-2021-043 ↗
- 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 ↗
- https://github.com/advisories/GHSA-xcrg-29h7-h4cj ↗