Read the docs
TI-2026-01001 Aliases CVE-2026-1285GHSA-4rrr-2h4v-f3j9

Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods

Priority MEDIUM 41CWE-407Published · 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: 9 fixed, 3 without a fix

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

Summary

An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `django.utils.text.Truncator.chars()` and `Truncator.words()` methods (with `html=True`) and the `truncatechars_html` and `truncatewords_html` template filters allow a remote attacker to cause a potential denial-of-service via crafted inputs containing a large number of unmatched HTML end tags. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01112 66th percentileScored 2026-11-07
Fix Partial Django (djangoproject): 6.0.2, 5.2.11, 4.2.28Django (PyPI): 6.0.2, 5.2.11, 4.2.28Red Hat: 7 advisoriesRed Hat: 9 fixed, 3 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
djangoprojectDjango6.0 to before 6.0.2; 5.2 to before 5.2.11; 4.2 to before 4.2.286.0.2, 5.2.11, 4.2.28Patch availableCNA
—Django (PyPI)6.0a1 to before 6.0.26.0.2Patch availableGHSA-4rrr-2h4v-f3j9
—Django (PyPI)5.2a1 to before 5.2.115.2.11Patch availableGHSA-4rrr-2h4v-f3j9
—Django (PyPI)4.2a1 to before 4.2.284.2.28Patch availableGHSA-4rrr-2h4v-f3j9
  • Django Vendordjangoproject Affected 6.0 to before 6.0.2; 5.2 to before 5.2.11; 4.2 to before 4.2.28 Fixed in 6.0.2, 5.2.11, 4.2.28 Patch available CNA
  • Django (PyPI) Vendor— Affected 6.0a1 to before 6.0.2 Fixed in 6.0.2 Patch available GHSA-4rrr-2h4v-f3j9
  • Django (PyPI) Vendor— Affected 5.2a1 to before 5.2.11 Fixed in 5.2.11 Patch available GHSA-4rrr-2h4v-f3j9
  • Django (PyPI) Vendor— Affected 4.2a1 to before 4.2.28 Fixed in 4.2.28 Patch available GHSA-4rrr-2h4v-f3j9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*4.2 to before 4.2.28; 5.2 to before 5.2.11; 6.0 to before 6.0.2Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2 to before 4.2.28; 5.2 to before 5.2.11; 6.0 to before 6.0.2 Vulnerable ·djangoproject

Remediation

  • Fix · CNA Django (djangoproject) Fixed in 6.0.2, 5.2.11, 4.2.28
  • Fix · GHSA-4rrr-2h4v-f3j9 Django (PyPI) Fixed in 6.0.2 Advisory →
  • Fix · GHSA-4rrr-2h4v-f3j9 Django (PyPI) Fixed in 5.2.11 Advisory →
  • Fix · GHSA-4rrr-2h4v-f3j9 Django (PyPI) Fixed in 4.2.28 Advisory →

Red Hat 7 advisories

  • RHSA-2026:14835 Released 2026-05-07 · Red Hat rating Important
    Satellite 6.18.5 Async Update
    • Red Hat Satellite 6.18 for RHEL 9 python3.12-django-4.2.30-1.el9pc, python3.12-markdown-3.8.2-1.el9pc, python3.12-pyOpenSSL-26.0.0-2.el9pc +1
  • RHSA-2026:6291 Released 2026-03-31 · Red Hat rating Important
    General availability of the satellite/iop-advisor-backend-rhel9 container image
    • Red Hat Satellite 6.18 registry.redhat.io/satellite/iop-advisor-backend-rhel9
  • RHSA-2026:5971 Released 2026-03-26 · Red Hat rating Important
    Satellite 6.16.7 Async Update
    • Red Hat Satellite 6.16 for RHEL 8 foreman-3.12.0.14-1.el8sat, foreman-cli-3.12.0.14-1.el8sat, foreman-debug-3.12.0.14-1.el8sat +20
    • Red Hat Satellite 6.16 for RHEL 9 foreman-3.12.0.14-1.el9sat, foreman-cli-3.12.0.14-1.el9sat, foreman-debug-3.12.0.14-1.el9sat +20
Show 4 more Red Hat advisories
  • RHSA-2026:5970 Released 2026-03-26 · Red Hat rating Important
    Satellite 6.17.7 Async Update
    • Red Hat Satellite 6.17 for RHEL 9 foreman-3.14.0.14-1.el9sat, foreman-cli-3.14.0.14-1.el9sat, foreman-debug-3.14.0.14-1.el9sat +33
  • RHSA-2026:3959 Released 2026-03-06 · 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-4.6.26-1.el8ap, automation-controller-cli-4.6.26-1.el8ap, automation-controller-server-4.6.26-1.el8ap +10
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-4.6.26-1.el9ap, automation-controller-cli-4.6.26-1.el9ap, automation-controller-server-4.6.26-1.el9ap +10
  • RHSA-2026:3958 Released 2026-03-06 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor-1.6.3-4.el10ap, receptorctl-1.6.3-4.el10ap
    • Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-controller-4.7.9-1.el9ap, automation-controller-cli-4.7.9-1.el9ap, automation-controller-server-4.7.9-1.el9ap +8
  • RHSA-2026:2694 Released 2026-02-12 · Red Hat rating Important
    A Subscription Management tool for finding and reporting Red Hat product usage
    • Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    djangoproject Django — Django security releases issued: 6.0.2, 5.2.11, and 4.2.28

    6 records Highest priority Priority MEDIUM 2 MEDIUM, 4 LOW

    Other records, highest priority first

    • TI-2025-13292 Potential denial-of-service vulnerability via repeated headers when using ASGIPriority MEDIUM 41
    • TI-2026-00932 Potential SQL injection via raster lookups on PostGISPriority LOW 39
    • TI-2026-01025 Potential SQL injection via QuerySet.order_by and FilteredRelationPriority LOW 26

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 2AffectedNo fix planned: Will not fix
Red Hat Satellite 6AffectedNo fix yet
Red Hat Update Infrastructure 4 for Cloud ProvidersAffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2026:3959
Red Hat Ansible Automation Platform 2.5 for RHEL 9Fixed RHSA-2026:3959
Red Hat Ansible Automation Platform 2.6 for RHEL 9Fixed RHSA-2026:3958
Red Hat Discovery 2Fixed RHSA-2026:2694
Red Hat Satellite 6.16 for RHEL 8Fixed RHSA-2026:5971
Red Hat Satellite 6.16 for RHEL 9Fixed RHSA-2026:5971
Red Hat Satellite 6.17 for RHEL 9Fixed RHSA-2026:5970
Red Hat Satellite 6.18Fixed RHSA-2026:6291
Red Hat Satellite 6.18 for RHEL 9Fixed RHSA-2026:14835
Not affected: 12 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
  • Red Hat Ansible Automation Platform 2.6 for RHEL 10
  • Red Hat Ansible Automation Platform 2.6 for RHEL 9
  • Red Hat Discovery 2
  • Red Hat OpenStack Platform 16.2
  • Red Hat OpenStack Platform 17.1
  • Red Hat OpenStack Platform 18.0
  • Red Hat Satellite 6.16 for RHEL 8
  • Red Hat Satellite 6.16 for RHEL 9
  • Red Hat Satellite 6.18 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-1285
  2. 2026-10-03 Alias added: GHSA-4rrr-2h4v-f3j9

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