Read the docs
TI-2024-36078 Aliases CVE-2024-53907GHSA-8498-2h75-472j

An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before…

Priority MEDIUM 42CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01388 72nd percentileScored 2026-11-07
Fix Partial Django (PyPI): 5.1.4, 4.2.17, 5.0.10django (PyPI): 5.1.4, 5.0.10, 4.2.17Red Hat: 5 advisoriesRed Hat: 5 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)5.1.0 to before 5.1.45.1.4Patch availableGHSA-8498-2h75-472j
—Django (PyPI)4.2.0 to before 4.2.174.2.17Patch availableGHSA-8498-2h75-472j
—Django (PyPI)5.0.0 to before 5.0.105.0.10Patch availableGHSA-8498-2h75-472j
—django (PyPI)5.1 to before 5.1.45.1.4Patch availableGHSA-8498-2h75-472j
—django (PyPI)5.0 to before 5.0.105.0.10Patch availableGHSA-8498-2h75-472j
—django (PyPI)4.2 to before 4.2.174.2.17Patch availableGHSA-8498-2h75-472j
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 5.1.0 to before 5.1.4 Fixed in 5.1.4 Patch available GHSA-8498-2h75-472j
  • Django (PyPI) Vendor— Affected 4.2.0 to before 4.2.17 Fixed in 4.2.17 Patch available GHSA-8498-2h75-472j
  • Django (PyPI) Vendor— Affected 5.0.0 to before 5.0.10 Fixed in 5.0.10 Patch available GHSA-8498-2h75-472j
  • django (PyPI) Vendor— Affected 5.1 to before 5.1.4 Fixed in 5.1.4 Patch available GHSA-8498-2h75-472j
  • django (PyPI) Vendor— Affected 5.0 to before 5.0.10 Fixed in 5.0.10 Patch available GHSA-8498-2h75-472j
  • django (PyPI) Vendor— Affected 4.2 to before 4.2.17 Fixed in 4.2.17 Patch available GHSA-8498-2h75-472j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*4.2 to before 4.2.17; 5.0 to before 5.0.10; 5.1 to before 5.1.4Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2 to before 4.2.17; 5.0 to before 5.0.10; 5.1 to before 5.1.4 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-8498-2h75-472j Django (PyPI) Fixed in 5.1.4 Advisory →
  • Fix · GHSA-8498-2h75-472j Django (PyPI) Fixed in 4.2.17 Advisory →
  • Fix · GHSA-8498-2h75-472j Django (PyPI) Fixed in 5.0.10 Advisory →
  • Fix · GHSA-8498-2h75-472j django (PyPI) Fixed in 5.1.4 Advisory →
  • Fix · GHSA-8498-2h75-472j django (PyPI) Fixed in 5.0.10 Advisory →
  • Fix · GHSA-8498-2h75-472j django (PyPI) Fixed in 4.2.17 Advisory →

Red Hat 5 advisories

  • RHSA-2025:1249 Released 2025-02-10 · Red Hat rating Important
    updated discovery container images
    • Discovery 1 for RHEL 9 discovery/discovery-server-rhel9, discovery/discovery-ui-rhel9
  • RHSA-2025:0777 Released 2025-01-28 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.7-1.el8ap, python3.11-django-4.2.18-1.el8ap, python3.11-jinja2-3.1.5-1.el8ap
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.7-1.el9ap, python3.11-django-4.2.18-1.el9ap, python3.11-jinja2-3.1.5-1.el9ap
  • RHSA-2025:0340 Released 2025-01-15 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.6-1.el8ap, automation-gateway-server-2.5.20250115-1.el8ap, python3.11-aiohttp-3.10.11-1.el8ap
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.6-1.el9ap, automation-gateway-server-2.5.20250115-1.el9ap, python3.11-aiohttp-3.10.11-1.el9ap
Show 2 more Red Hat advisories
  • RHSA-2024:11146 Released 2024-12-17 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Container Release Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/aap-cloud-billing-rhel8, ansible-automation-platform-25/aap-cloud-billing-rhel8-operator, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8 +29
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-automation-platform-25/ansible-builder-rhel9, ansible-automation-platform-25/ansible-python-base-rhel9, ansible-automation-platform-25/ansible-python-toolkit-rhel9 +5
  • RHSA-2024:11144 Released 2024-12-16 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.4 Container Release Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-automation-platform-24/aap-cloud-billing-rhel8, ansible-automation-platform-24/aap-cloud-billing-rhel8-operator, ansible-automation-platform-24/aap-cloud-metrics-collector-rhel8 +27
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-automation-platform-24/ansible-builder-rhel9, ansible-automation-platform-24/ansible-python-base-rhel9, ansible-automation-platform-24/ansible-python-toolkit-rhel9 +4

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 1.2AffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Discovery 1 for RHEL 9Fixed RHSA-2025:1249
Red Hat Ansible Automation Platform 2.4 for RHEL 8Fixed RHSA-2024:11144
Red Hat Ansible Automation Platform 2.4 for RHEL 9Fixed RHSA-2024:11144
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2024:11146, RHSA-2025:0340, RHSA-2025:0777
Red Hat Ansible Automation Platform 2.5 for RHEL 9Fixed RHSA-2024:11146, RHSA-2025:0340, RHSA-2025:0777
Not affected: 3 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8
  • Red Hat Ansible Automation Platform 2.5 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-53907
  2. 2026-10-03 Alias added: GHSA-8498-2h75-472j
  3. 2026-11-05 Affected versions changed · Red Hat

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
See all 156 →

Sources