CVE-2018-19277

HIGH

PHPOffice PhpSpreadsheet <1.5.0 - XSS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-19277. PoCs published by Alex Leahu.

AI-analyzed exploit summary This exploit demonstrates an XXE injection vulnerability in PhpSpreadsheet <=1.5.0 by bypassing security checks via UTF-7 encoding. The PoC shows how an attacker can craft a malicious .XLSX file to read external entities, potentially exposing sensitive data.

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

Exploits (1)

exploitdb WORKING POC
by Alex Leahu · textwebappsphp
https://www.exploit-db.com/exploits/46050

This exploit demonstrates an XXE injection vulnerability in PhpSpreadsheet <=1.5.0 by bypassing security checks via UTF-7 encoding. The PoC shows how an attacker can craft a malicious .XLSX file to read external entities, potentially exposing sensitive data.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: PhpSpreadsheet <=1.5.0
No auth needed
Prerequisites: Ability to upload or deliver a malicious .XLSX file to the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/PHPOffice/PhpSpreadsheet/issues/771
Third Party Advisory x_refsource_misc
https://github.com/MewesK/TwigSpreadsheetBundle/issues/18
Third Party Advisory x_refsource_misc
https://www.drupal.org/sa-contrib-2021-043

Scores

CVSS v3 8.8
EPSS 0.0299
EPSS Percentile 86.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-91
Status published
Products (3)
phpoffice/phpexcel 0 - 1.8.2Packagist
phpoffice/phpspreadsheet < 1.5.0
phpoffice/phpspreadsheet 0 - 1.5.1Packagist
Published Nov 14, 2018
Tracked Since Feb 18, 2026