VDB

CVE-2017-5992

CVE-2017-5992 PUBLISHED CVSS 8.199999809265137 HIGH

Improper Restriction of XML External Entity Reference in Openpyxl

Reported by mitre · Published February 15, 2017

openpyxl is fixed in 2.4.2 and 2.4.1 (PyPI)

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openpyxlPyPI2.4.2, 2.4.1
python-openpyxlArch Linux2.4.1-1
openpyxlUbuntu:Pro:16.04:LTS2.3.0-1ubuntu0.1~esm1

Risk scores

CVSS 3.0
8.199999809265137
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
archpython-openpyxl0
n/an/a*
PyPIopenpyxl0

Timeline

  • Feb 15, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 7, 2024 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-5992
vulnetix vdb fixes CVE-2017-5992

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5992/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›