GHSA-34wj-p5jm-2p96 · Severity: high · Ecosystem: pip — Improper Restriction of XML External Entity Reference in python-docx
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Conclusion & alert: CVE-2016-5851 is rated Moderate Risk (59.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.90%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-30 | 2.12% | 0.90% | -1.22% |
| 2 | 2025-03-29 | 0.91% | 2.12% | +1.21% |
| 3 | 2025-03-17 | — | 0.91% | — |
Full EPSS history (8 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
GHSA-34wj-p5jm-2p96 · Severity: high · Ecosystem: pip — Improper Restriction of XML External Entity Reference in python-docx
| vendor | priority | summary | link |
|---|---|---|---|
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2016-5851/ |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| python-openxml_project | python-docx | <= 0.8.5 | cpe:2.3:a:python-openxml_project:python-docx:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2016/06/28/7 | Mailing List Patch Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/06/28/8 | Mailing List Third Party Advisory |
| http://www.securityfocus.com/bid/91485 | Third Party Advisory VDB Entry |
| https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst | Patch Release Notes Vendor Advisory |
| https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ/ |