Django XML Deserializer Denial-of-Service Vulnerability

Vulnerability

A denial-of-service vulnerability has been identified in Django versions 5.2 prior to 5.2.9, 5.1 prior to 5.1.15, and 4.2 prior to 4.2.27. The issue arises from algorithmic complexity in the XML serializer's text extraction method, which can be exploited by remote attackers using specially crafted XML. This manipulated input causes CPU and memory exhaustion, leading to service degradation or outage.

Impact

Exploitation of this vulnerability can cause significant CPU and memory exhaustion, potentially leading to a service outage.

Remediation

Users can upgrade to Django versions 5.2.9, 5.1.15, or 4.2.27 to address this vulnerability.

Added: Dec 2, 2025, 4:19 PM
Updated: Dec 2, 2025, 10:26 PM

Vulnerability Rating

Custom Algorithm
spread
7.6
impact
2.5
exploitability
7.6
remediation
7.7
relevance
1.2
threat
0.0
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.