CVE-2018-19277
HIGH 8.8CVSS 3.1XXE in PHPSpreadsheet due to encoding issue
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
- Published
- 14 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-91
- Also known as
- GHSA-xcrg-29h7-h4cj
- Sources
- NVDJSONOSV GHSA-xcrg-29h7-h4cjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpoffice | phpspreadsheetcpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* |
<= 1.5.0 | |
| OSV | Packagist | phpoffice/phpspreadsheet | < 1.5.1 | 1.5.1 |
| OSV | Packagist | phpoffice/phpexcel | < 1.8.2 | 1.8.2 |
References
- https://github.com/MewesK/TwigSpreadsheetBundle/issues/18 · Third Party Advisory, WEB
- https://github.com/PHPOffice/PhpSpreadsheet/issues/771 · Exploit, Third Party Advisory, WEB
- https://www.bishopfox.com/news/2018/11/phpoffice-versions/ · Broken Link, WEB
- https://www.drupal.org/sa-contrib-2021-043 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-19277 · ADVISORY
- https://github.com/PHPOffice/PhpSpreadsheet/pull/780 · WEB
- https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095 · WEB
- https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml · WEB
- https://github.com/PHPOffice/PHPExcel/commits/1.8.2 · WEB
- https://github.com/PHPOffice/PhpSpreadsheet · PACKAGE
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 14 Nov 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Nov 2019)