Security mailing lists by PureSourceCode

CVE-2017-5992

HIGH 8.2CVSS 3.0

Improper Restriction of XML External Entity Reference in Openpyxl

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

Published
15 Feb 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-611
Also known as
GHSA-chqf-hx79-gxc6PYSEC-2017-48
Sources
NVDJSONOSV GHSA-chqf-hx79-gxc6JSONOSV PYSEC-2017-48JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 8.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python openpyxl
cpe:2.3:a:python:openpyxl:2.4.1:*:*:*:*:*:*:*
= 2.4.1
OSV PyPI openpyxl < 2.4.2 2.4.2
OSV PyPI openpyxl < 2.4.1 2.4.1

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 15 Feb 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Feb 2017)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.