Inefficient Algorithmic Complexity Affecting django package, versions [,4.2.27)[5.0a1, 5.1.15)[5.2a1, 5.2.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.09% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGO-14157807
  • published3 Dec 2025
  • disclosed2 Dec 2025
  • creditSeokchan Yoon

Introduced: 2 Dec 2025

CVE-2025-64460  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Django to version 4.2.27, 5.1.15, 5.2.9 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the getInnerText() function. An attacker can exhaust CPU and memory resources by submitting deeply nested XML input to the XML deserializer, which is processed in quadratic time per character.

CVSS Base Scores

version 4.0
version 3.1