{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-5992","id":"CVE-2017-5992","title":"Improper Restriction of XML External Entity Reference in Openpyxl","description":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","descriptionLong":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","published":"2017-02-15T19:00:00.000Z","updated":"2026-10-05T10:26:50.904817938Z","reserved":"2017-02-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H","rating":"high","source":"GitHub"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:N/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":"PyPI","name":"openpyxl","purl":"pkg:pypi/openpyxl","ranges":["<2.4.2","<2.4.1"],"fixed":["2.4.2","2.4.1"],"advisory":"GHSA-chqf-hx79-gxc6"}],"cwes":["CWE-611"],"aliases":["GHSA-chqf-hx79-gxc6","PYSEC-2017-48"],"references":[{"url":"https://bitbucket.org/openpyxl/openpyxl/issues/749","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/07/5","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5992","tags":["advisory"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl","tags":["package"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd","tags":["web"]},{"url":"https://foss.heptapod.net/openpyxl/openpyxl/-/issues/749","tags":["web"]},{"url":"https://github.com/advisories/GHSA-chqf-hx79-gxc6","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01411,"epssPercentile":0.73219,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-5992","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5992","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-5992","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-chqf-hx79-gxc6","ok":true,"note":"GHSA-chqf-hx79-gxc6"},{"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-2017-5992","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}