MediumGHSA-qrh7-x6fp-c2mpCVE-2013-1664PYSEC-2026-801

XML Entity Expansion (XEE) in Django

Published 17 May 2022 · Updated 7 Jul 2026

Is your project on an affected django?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

djangoPyPI
Affected
>=1.3.0 <1.3.6
Fixed in
1.3.6
Update to the fixed version for your release line, for example:pip install 'django>=1.3.6'
djangoPyPI
Affected
>=1.4.0 <1.4.4
Fixed in
1.4.4
Update to the fixed version for your release line, for example:pip install 'django>=1.4.4'

Details

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.

Is GHSA-qrh7-x6fp-c2mp in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.

More advisories for django

  • HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
  • MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
  • MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
  • MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
  • LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
  • LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
All 162 advisories for django

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.