CVE-2018-19277Phpoffice Phpspreadsheet
High 8.8 No auth needed
Follow: this CVE · Phpoffice · Phpoffice Phpspreadsheet We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 3.1
- 8.8
- EPSS
- 7.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Nov 14, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-91
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
What to do
- Apply the vendor's security update for Phpspreadsheet.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpoffice/phpexcel |
< 1.8.2 |
1.8.2 |
composer require "phpoffice/phpexcel:^1.8.2" |
| Packagist | phpoffice/phpspreadsheet |
< 1.5.1 |
1.5.1 |
composer require "phpoffice/phpspreadsheet:^1.5.1" |
Per OSV / GitHub Advisories (GHSA-xcrg-29h7-h4cj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpoffice | phpspreadsheet | ≤ 1.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory
- www.bishopfox.com Broken Link
- www.drupal.org Third Party Advisory