{"id":"CVE-2018-19277","published":"2018-11-14T11:00:00Z","modified":"2024-08-05T11:30:04Z","title":"securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7…","vendor":null,"product":null,"tier":"tail","description":{"text":"securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07791,"percentile":0.94792,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/PHPOffice/PhpSpreadsheet/issues/771","tags":["x_refsource_MISC"]},{"url":"https://www.bishopfox.com/news/2018/11/phpoffice-versions/","tags":["x_refsource_MISC"]},{"url":"https://github.com/MewesK/TwigSpreadsheetBundle/issues/18","tags":["x_refsource_MISC"]},{"url":"https://www.drupal.org/sa-contrib-2021-043","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.96},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-11-30"},"first":{"date":"2018-11-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46050"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpoffice/phpspreadsheet","vulnerableRanges":["<1.5.1"],"patched":["1.5.1"],"from":["GHSA-xcrg-29h7-h4cj"],"provenance":"source"},{"ecosystem":"Packagist","package":"phpoffice/phpexcel","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-xcrg-29h7-h4cj"],"provenance":"source"}],"summary":{"text":"The flaw is in the securityScan() function of PHPOffice PhpSpreadsheet, a PHP library for reading and writing spreadsheet files, and it affects versions through 1.5.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:58:54Z"},"euvd":{"id":"EUVD-2019-0766","exploited":false,"provenance":"source"},"exploits":[{"id":46050,"url":"https://www.exploit-db.com/exploits/46050","title":"PhpSpreadsheet < 1.5.0 - XML External Entity (XXE)","date":"2018-11-30","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-phpoffice-phpspreadsheet-cve-2018-19277","children":[{"from":"CVE-2018-19277","to":"CVE-2019-12331","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpoffice/phpspreadsheet","fromFixed":"1.5.1","toFixed":"1.8.0","daysApart":358},{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/BaseReader.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/0e6238c69e863b58aeece61e48ea032696c6dccd"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same package + description similarity"}]},{"from":"CVE-2018-19277","to":"CVE-2026-108358","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/Ods.php","src/PhpSpreadsheet/Reader/Xml.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66","https://github.com/PHPOffice/PhpSpreadsheet/commit/89f455c133e1a7e2d4abfadc43ce29eb7450d781"],"basis":"shared function","functions":["listWorksheetInfo","loadIntoExisting"]}]},{"from":"CVE-2018-19277","to":"CVE-2026-108359","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/Ods.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66","https://github.com/PHPOffice/PhpSpreadsheet/commit/2de29384aa11223ee08136c0e6a9e9981bc1a2eb"],"basis":"shared function","functions":["listWorksheetInfo","loadIntoExisting"]}]},{"from":"CVE-2018-19277","to":"CVE-2026-108360","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/Ods.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66","https://github.com/PHPOffice/PhpSpreadsheet/commit/94590951d76a250a5fc1ecf69a0b3f7439a9af49"],"basis":"shared function","functions":["listWorksheetInfo","loadIntoExisting"]}]},{"from":"CVE-2018-19277","to":"CVE-2026-59932","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/Gnumeric.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/85f2556b0bf5269061bf45932ecda8a128d81750"],"basis":"shared function","functions":["Gnumeric"]}]},{"from":"CVE-2018-19277","to":"CVE-2026-59933","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PhpSpreadsheet/Reader/Gnumeric.php"],"commits":["https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","https://github.com/PHPOffice/PhpSpreadsheet/commit/85f2556b0bf5269061bf45932ecda8a128d81750"],"basis":"shared function","functions":["Gnumeric"]}]}],"packageHistory":[{"cve":"CVE-2018-19277","published":"2018-11-14","fixed":"1.5.1","kev":false},{"cve":"CVE-2019-12331","published":"2019-11-07","fixed":"1.8.0","kev":false},{"cve":"CVE-2020-7776","published":"2020-12-09","fixed":"1.16.0","kev":false},{"cve":"CVE-2026-45034","published":"2026-06-22","fixed":"1.30.5","kev":false}],"package":"Packagist:phpoffice/phpspreadsheet"}}