Advisory

GHSA-34wj-p5jm-2p96

Also known as: CVE-2016-5851, PYSEC-2016-21

Summary

Improper Restriction of XML External Entity Reference in python-docx

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:06 UTC
Modified
2024-10-25 21:25 UTC

Affected packages and fixes

python-docx

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.6 (ecosystem)

Fixed versions

0.8.6

Fix

  • Fixed version 0.8.6
    pip install --upgrade python-docx==0.8.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences