{"id":"GHSA-xcrg-29h7-h4cj","aliases":["CVE-2018-19277"],"title":"XXE in PHPSpreadsheet due to encoding issue","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","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","severity":"high","score":8.8,"published":"2019-11-20T01:38:52.000Z","modified":"2025-03-06T18:38:20.246Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","sources":[{"name":"OSV · GHSA-xcrg-29h7-h4cj","url":"https://osv.dev/vulnerability/GHSA-xcrg-29h7-h4cj"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.5.1"}],"type":"ECOSYSTEM"}],"versions":["1.0.0","1.0.0-beta","1.0.0-beta2","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.4.0","1.4.1","1.5.0"],"fixed":["1.5.1"]},{"ecosystem":"Packagist","name":"phpoffice/phpexcel","sources":[{"name":"OSV · GHSA-xcrg-29h7-h4cj","url":"https://osv.dev/vulnerability/GHSA-xcrg-29h7-h4cj"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.8.2"}],"type":"ECOSYSTEM"}],"versions":["1.7.9","1.7.9-rc1","1.8.0","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.1"],"fixed":["1.8.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-19277","https://github.com/MewesK/TwigSpreadsheetBundle/issues/18","https://github.com/PHPOffice/PhpSpreadsheet/issues/771","https://github.com/PHPOffice/PhpSpreadsheet/pull/780","https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095","https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml","https://github.com/PHPOffice/PHPExcel/commits/1.8.2","https://github.com/PHPOffice/PhpSpreadsheet","https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1","https://www.bishopfox.com/news/2018/11/phpoffice-versions","https://www.drupal.org/sa-contrib-2021-043"],"sources":[{"name":"OSV","id":"GHSA-xcrg-29h7-h4cj","modified":"2025-03-06T18:38:20.246894Z","url":"https://osv.dev/vulnerability/GHSA-xcrg-29h7-h4cj"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T01:35:32.302Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[{"source":"Exploit-DB","id":"46050","url":"https://www.exploit-db.com/exploits/46050","checkedAt":"2026-10-29T00:00:35.338Z"}]}