CVE-2018-19277 in Phpoffice Phpspreadsheet
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Phpoffice | Phpspreadsheet | ≤ 1.5.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-19277 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-167184-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2018-11-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-91: CWE-91
Related attack patterns (CAPEC)
CAPEC-83 XPath Injection via CWE-91
CAPEC-250 XML Injection via CWE-91
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in PHPOffice PhpSpreadsheet through version 1.5.0 allows attackers to bypass protection mechanisms and exploit XXE (XML External Entity) vulnerabilities by using UTF-7 encoding in a .xlsx file.
The vulnerability arises from the way PHPOffice PhpSpreadsheet processes .xlsx files. An attacker can craft a malicious .xlsx file with UTF-7 encoded XML content that includes an XXE payload. When this file is processed by the securityScan() function, the protection mechanisms are bypassed, leading to the execution of the XXE payload.
Questions
What is CVE-2018-19277?
A vulnerability in PHPOffice PhpSpreadsheet through version 1.5.0 allows attackers to bypass protection mechanisms and exploit XXE (XML External Entity) vulnerabilities by using UTF-7 encoding in a .xlsx file.
What is the CVSS score for CVE-2018-19277?
CVE-2018-19277 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 7.8%.
Is CVE-2018-19277 actively exploited?
Public exploit available for CVE-2018-19277. Exploitation risk elevated.
How do I remediate CVE-2018-19277?
Priority: IMMEDIATE.
What systems are affected by CVE-2018-19277?
CVE-2018-19277 affects Phpoffice Phpspreadsheet.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Phpoffice","product":"Phpspreadsheet","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.