Back
CVE-2016-5851
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
High8.8EPSS 2.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.4% · top 16% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpython-docxGHSA-34wj-p5jm-2p96 (opens in a new tab)
References (7)
- [oss-security] 20160628 CVE request - python-docx 0.8.5 - XXE (opens in a new tab)mailing-listx_transferred
- [oss-security] 20160628 Re: CVE request - python-docx 0.8.5 - XXE (opens in a new tab)mailing-listx_transferred
- https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst (opens in a new tab)x_transferred
- 91485 (opens in a new tab)vdb-entryx_transferred
- FEDORA-2021-aa54748cd9 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-aa6ebc01be (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-34wj-p5jm-2p96 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2016-5851)Record last updated .