{"id":"GHSA-xcrg-29h7-h4cj","summary":"XXE in PHPSpreadsheet due to encoding issue","details":"securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file","aliases":["CVE-2018-19277"],"modified":"2025-03-06T18:38:20.246894Z","published":"2019-11-20T01:38:52Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-11-19T03:40:52Z","nvd_published_at":"2018-11-14T11:29:00Z","cwe_ids":["CWE-91"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19277"},{"type":"WEB","url":"https://github.com/MewesK/TwigSpreadsheetBundle/issues/18"},{"type":"WEB","url":"https://github.com/PHPOffice/PhpSpreadsheet/issues/771"},{"type":"WEB","url":"https://github.com/PHPOffice/PhpSpreadsheet/pull/780"},{"type":"WEB","url":"https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095"},{"type":"WEB","url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml"},{"type":"WEB","url":"https://github.com/PHPOffice/PHPExcel/commits/1.8.2"},{"type":"PACKAGE","url":"https://github.com/PHPOffice/PhpSpreadsheet"},{"type":"WEB","url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1"},{"type":"WEB","url":"https://www.bishopfox.com/news/2018/11/phpoffice-versions"},{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2021-043"}],"affected":[{"package":{"name":"phpoffice/phpspreadsheet","ecosystem":"Packagist","purl":"pkg:composer/phpoffice/phpspreadsheet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-xcrg-29h7-h4cj/GHSA-xcrg-29h7-h4cj.json"}},{"package":{"name":"phpoffice/phpexcel","ecosystem":"Packagist","purl":"pkg:composer/phpoffice/phpexcel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-xcrg-29h7-h4cj/GHSA-xcrg-29h7-h4cj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}