python-docx

Create, read, and update Microsoft Word .docx files.

1.2.0Latest, 16 Jun 2025
15MDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
5.8KStars
2.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High Improper Restriction of XML External Entity Reference in python-docx CVE-2016-5851 Fixed in 0.8.6 13 May 2022
PYSEC-2016-21 CVE-2016-5851 Fixed in 0.8.6 21 Dec 2016

In the news

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.