XML Entity Expansion (XEE) in Django
The XML libraries for Python, as used in OpenStack Keystone Essex, Folsom, and Grizzly; Compute (Nova) Essex and Folsom; Cinder Folsom; Django; and possibly other products allow remote attackers to cause a denial of service (resource consumption and crash) via an XML Entity Expansion (XEE) attack.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | django | >= 1.3.0, < 1.3.6, >= 1.4.0, < 1.4.4 | 1.3.6, 1.4.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1664
- https://github.com/django/django/commit/1c60d07ba23e0350351c278ad28d0bd5aa410b40
- https://github.com/django/django/commit/d19a27066b2247102e65412aa66917aff0091112
- https://bugs.launchpad.net/nova/+bug/1100282
- https://github.com/django/django
- http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
- http://bugs.python.org/issue17239
- http://lists.openstack.org/pipermail/openstack-announce/2013-February/000078.html
- http://rhn.redhat.com/errata/RHSA-2013-0657.html
- http://rhn.redhat.com/errata/RHSA-2013-0658.html
- http://rhn.redhat.com/errata/RHSA-2013-0670.html
- http://ubuntu.com/usn/usn-1757-1
- http://www.openwall.com/lists/oss-security/2013/02/19/2
- http://www.openwall.com/lists/oss-security/2013/02/19/4
- https://pypi.org/project/django
- https://github.com/advisories/GHSA-qrh7-x6fp-c2mp
- Weakness (CWE)
CWE-611- Platform
- Python (PyPI)
- Package
django- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-801 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qrh7-x6fp-c2mp - CC BY 4.0
Vulnerability history: django
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 162
- First → latest
- 10.2007 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 16
- High 65
- Medium 63
- Low 18
Disclosures per year
- 2017: 3
- 2018: 5
- 2019: 11
- 2020: 6
- 2021: 8
- 2022: 14
- 2023: 7
- 2024: 14
- 2025: 12
- 2026: 26
earlier: 56
-
XML Entity Expansion (XEE) in Django this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.