Skip to content
Fencer Intel
high 8.8

CVE-2018-19277 json

XXE in PHPSpreadsheet due to encoding issue

published 7y ago modified 4mo ago also GHSA-xcrg-29h7-h4cj , EUVD-2019-0766

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.8%
EPSS 7.8% chance of exploitation in 30 days, percentile 94%
public exploits
1
Exploit-DB

Summary

securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file

Patch / fix

  • packagist phpoffice/phpspreadsheet 1.5.1
  • packagist phpoffice/phpexcel 1.8.2

Is CVE-2018-19277 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. Published
  2. First public exploit (EDB-46050)

Exploit prediction

7.79% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-46050 PhpSpreadsheet < 1.5.0 - XML External Entity (XXE) webapps, 2018-11-30
  • github.com https://github.com/PHPOffice/PhpSpreadsheet/issues/771 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist phpoffice/phpspreadsheet
<1.5.1
1.5.1
packagist phpoffice/phpexcel
<1.8.2
1.8.2

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.