Loading advisory.
Loading advisory.
Django is vulnerable to DoS via XML serializer text extraction
An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. Algorithmic complexity in django.core.serializers.xml_serializer.getInnerText() allows a remote attacker to cause a potential denial-of-service attack triggering CPU and memory exhaustion via specially crafted…
Published 2025-12-02 15:15 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| django | PyPI | >= 5.2a1, < 5.2.9 >= 5.1a1, < 5.1.15 >= 4.2a1, < 4.2.27 >= 4.2, < 4.2.27 >= 5.1, < 5.1.15 >= 5.2, < 5.2.9 versions 5.2, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8, 5.2a1, 5.2b1, 5.2rc1, 5.1, 5.1.1, 5.1.10, 5.1.11, 5.1.12, 5.1.13, 5.1.14, 5.1.2 and 40 more | 5.2.9, 5.1.15, 4.2.27 | pip install --upgrade 'django>=5.2.9'pip install --upgrade 'django>=5.1.15'pip install --upgrade 'django>=4.2.27' |
An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27.
Algorithmic complexity in django.core.serializers.xml_serializer.getInnerText() allows a remote attacker to cause a potential denial-of-service attack triggering CPU and memory exhaustion via specially crafted XML input processed by the XML Deserializer.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Seokchan Yoon for reporting this issue.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.022 on 2026-11-24 to 0.013 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.022 | first score | v2026.06.15 |
| 2026-11-26 | 0.013 | 0.022 | v2026.06.15 |