Skip to main content
CVE-2024-38875VulnerabilityPublished Updated

CVE-2024-38875: django · n/a

Affects djangoSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 5.0.7 or 4.2.14 soon.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.1% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.7, 4.2.14
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade django to 5.0.7 or 4.2.14.

Affected software

ProductAffectedFixed in
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • <4.2.14
  • <5.0.7
Fixed in
  • 4.2.14
  • 5.0.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-38875, organizations should prioritize upgrading Django installations to versions 4.2.14 or 5.0.7 or later, where the vulnerability is patched. Until upgrades can be applied, consider implementing input validation or rate limiting on user inputs that are processed by urlize and urlizetrunc functions to prevent excessively large or complex bracketed inputs. Web application firewalls (WAFs) can be configured to detect and block suspicious payloads containing large numbers of brackets. Monitoring application logs for abnormal resource usage or repeated processing of suspicious inputs can help identify attempted exploitation. Additionally, ensure that resource limits (CPU, memory) are enforced at the application or container level to reduce the impact of potential DoS attempts. Regularly review and test incident response plans for availability-related incidents to minimize downtime.

Description

An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7.urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.

References

Community reviews

Loading reviews…