CVE-2018-19277
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
1.0
Description
XXE in PHPSpreadsheet due to encoding issue
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
PhpSpreadsheet < 1.5.0 - XML External Entity (XXE)
Source code queued for fetch โ refresh in a moment.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | phpoffice/phpspreadsheet | <1.5.1 | 1.5.1 |
| Packagist | phpoffice/phpexcel | <1.8.2 | 1.8.2 |
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://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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.