{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-19277","id":"CVE-2018-19277","title":"XXE in PHPSpreadsheet due to encoding issue","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","descriptionLong":"securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file","published":"2018-11-14T11:00:00.000Z","updated":"2026-10-20T10:50:09.336170529Z","reserved":"2018-11-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","ranges":["<1.5.1"],"fixed":["1.5.1"],"advisory":"GHSA-xcrg-29h7-h4cj"},{"ecosystem":"Packagist","name":"phpoffice/phpexcel","purl":"pkg:composer/phpoffice/phpexcel","ranges":["<1.8.2"],"fixed":["1.8.2"],"advisory":"GHSA-xcrg-29h7-h4cj"}],"cwes":["CWE-91"],"aliases":["GHSA-xcrg-29h7-h4cj"],"references":[{"url":"https://github.com/PHPOffice/PhpSpreadsheet/issues/771","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.bishopfox.com/news/2018/11/phpoffice-versions/","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/MewesK/TwigSpreadsheetBundle/issues/18","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.drupal.org/sa-contrib-2021-043","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19277","tags":["advisory"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/pull/780","tags":["web"]},{"url":"https://github.com/PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095","tags":["web"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml","tags":["web"]},{"url":"https://github.com/PHPOffice/PHPExcel/commits/1.8.2","tags":["web"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet","tags":["package"]},{"url":"https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.5.1","tags":["web"]},{"url":"https://www.bishopfox.com/news/2018/11/phpoffice-versions","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.07791,"epssPercentile":0.94769,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-19277","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19277","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-19277","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xcrg-29h7-h4cj","ok":true,"note":"GHSA-xcrg-29h7-h4cj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-19277","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}