Feed
7.5HIGH
CVE-2024-53907Django denial-of-service in django.utils.html.strip_tags()
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.9%
- percentile 80%
- Fix
- Named by a source
- CVE published 6 Dec 2024
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.9% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 5.1.4 / 4.2.17 / 5.0.10 or later on your release line.
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 5.1.0, < 5.1.4Fixed in5.1.4OSV (GHSA-8498-2h75-472j)
- Affected>= 4.2.0, < 4.2.17Fixed in4.2.17OSV (GHSA-8498-2h75-472j)
- Affected>= 5.0.0, < 5.0.10Fixed in5.0.10OSV (GHSA-8498-2h75-472j)
- Affected>= 5.1, < 5.1.4Fixed in5.1.4OSV (PYSEC-2024-156)
- Affected>= 5.0, < 5.0.10Fixed in5.0.10OSV (PYSEC-2024-156)
- Affected>= 4.2, < 4.2.17Fixed in4.2.17OSV (PYSEC-2024-156)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-8498-2h75-472j)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-770
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-53907
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-156.yaml
- otherhttps://groups.google.com/g/django-announce
- otherhttps://lists.debian.org/debian-lts-announce/2024/12/msg00028.html
- otherhttps://www.djangoproject.com/weblog/2024/dec/04/security-releases
- otherhttps://www.openwall.com/lists/oss-security/2024/12/04/3
- otherhttps://docs.djangoproject.com/en/dev/releases/security/
- advisoryhttps://github.com/advisories/GHSA-8498-2h75-472j
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-8498-2h75-472j (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2024-156 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 29 min ago · osv 29 min ago · nvd 89 min ago · epss 28 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2024-53907, GHSA-8498-2h75-472j, PYSEC-2024-156