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%
Priority
26/100 medium
how it is computed
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

Sources

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