Advisory

PYSEC-2026-802

Also known as: CVE-2013-1665, GHSA-x64m-686f-fmm3

Summary

XML External Entity (XXE) in Django

Details

The XML libraries for Python as used in OpenStack Keystone Essex and Folsom, Django, and possibly other products allow remote attackers to read arbitrary files via an XML external entity declaration in conjunction with an entity reference, aka an XML External Entity (XXE) attack.

Severity

Not rated by the source.

Dates

Published
2026-07-06 08:03 UTC
Modified
2026-07-07 11:45 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.3.0, fixed 1.3.6, introduced 1.4.0, fixed 1.4.4 (ecosystem)

Fixed versions

1.3.6, 1.4.4

Fix

  • Fixed version 1.3.6
    pip install --upgrade django==1.3.6
  • Fixed version 1.4.4
    pip install --upgrade django==1.4.4

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: PyPA Advisory Database · CC BY 4.0

Sources & licences