Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2018-19277 EUVD-2019-0766GHSA-xcrg-29h7-h4cj

XXE in PHPSpreadsheet due to encoding issue

Published Nov 14, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpoffice/phpexcel < 1.8.2 1.8.2 GHSA-xcrg-29h7-h4cj
Packagist phpoffice/phpspreadsheet < 1.5.1 1.5.1 GHSA-xcrg-29h7-h4cj

References