Live threats

All CVEs / Phpoffice

CVE-2018-19277Phpoffice Phpspreadsheet

High 8.8 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpspreadsheet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
phpofficephpspreadsheet≤ 1.5.0

Official sources

References

Links published by the sources. Open them with care.