pypi package report

Is python-docx safe?

python-docx (pypi) has 1 known vulnerability, the worst rated HIGH. Upgrade to 0.8.6 or later to clear it. No malicious-package signal is recorded.

// reach

2 direct dependencies

1 carry known advisories, worst HIGH

83 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
8.8
high

CVSS v3.1 base score out of 10

epss
2.4%
medium

chance of exploitation in 30 days, 84th percentile of all CVEs

xyz score
4.7
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-34wj-p5jm-2p96, the advisory selected below

// 1 advisories

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

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
// questions
Is python-docx safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for python-docx (pypi), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does python-docx have known vulnerabilities?

Yes. CyberXYZ records 1 known vulnerability for python-docx (pypi), the worst rated HIGH. They are GHSA-34wj-p5jm-2p96.

Which version of python-docx should I use?

0.8.6 or later clears every advisory recorded for python-docx (pypi). Check the release you pick before installing it.

How do I check python-docx before installing?

Search python-docx in CyberXYZ Check at https://cyberxyz.io/check?q=python-docx. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 09:39 UTC. The most recent advisory here was published 2022-05-13. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.