Potential denial-of-service vulnerability in XML serializer text extraction (djangoproject Django)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.08 % · percentile 82 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- DSF
- NVD status
- Analyzed
Description
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.
Weaknesses (CWE)
- CWE-407 — Inefficient Algorithmic Complexity
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-vrcr-9hj9-jcg6 — Django is vulnerable to DoS via XML serializer text extraction
- PYSEC-2025-109 — An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27.
European references
- ENISA EUVD · EUVD-2025-200248
- GCVE · GCVE-0-2025-64460
Affected configurations (NVD CPE)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*≥ 4.2 < 4.2.27cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*≥ 5.1 < 5.1.15cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*≥ 5.2 < 5.2.9
Affected products
| Product | Versions |
|---|---|
| djangoproject · Django | affected 5.2 < 5.2.9 ; unaffected 5.2.9 ; affected 5.1 < 5.1.15 ; unaffected 5.1.15 ; affected 4.2 < 4.2.27 ; unaffected 4.2.27 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |