All reports
Medium

Improper Restriction of XML External Entity Reference in Openpyxl

Affected versions

Version ranges need review.

Affected versions
<2.4.1 || =1.1.0 || =1.1.5 || =1.1.6 || =1.1.7 || =1.2.3 || =1.5.0 || =1.5.1 || =1.5.2 || =1.5.3 || =1.5.4 || =1.5.5 || =1.5.6 || =1.5.7 || =1.5.8 || =1.6.1 || =1.6.2 || =1.7.0 || =1.8.0 || =1.8.1 || =1.8.2 || =1.8.3 || =1.8.4 || =1.8.5 || =1.8.6 || =2.0.2 || =2.0.3 || =2.0.4 || =2.0.5 || =2.1.0 || =2.1.1 || =2.1.2 || =2.1.3 || =2.1.4 || =2.1.5 || =2.2.0 || =2.2.1 || =2.2.2 || =2.2.3 || =2.2.4 || =2.2.5 || =2.2.6 || =2.3.0 || =2.3.1 || =2.3.2 || =2.3.3 || =2.3.4 || =2.3.5 || =2.4.0
Fixed version
2.4.1
Affected versions
<= 2.4.1
Fixed version
2.4.2

Exploitation

CVE-2017-5992

Probability of exploitation in the next 30 days: 1.41%

FIRST EPSS · 2026-11-23

Description

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

Links

Credits

  • chenghlee