Improper Restriction of XML External Entity Reference in python-docx
Date: 2022-05
Affected: pip/python-docx
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2016-5851
CWE: CWE-611
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)

python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.


Mitigations:

Architectural layers (MAESTRO):