Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-1285

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-1285

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-1285

python-django

Source reference: /affected/0/package/name

Affected versions
3:3.2.19-1

Source reference: /affected/0/versions

3:3.2.19-1+deb12u1

Source reference: /affected/0/versions

3:3.2.19-1+deb12u1~bpo11+1

Source reference: /affected/0/versions

3:3.2.19-1+deb12u2

Source reference: /affected/0/versions

3:3.2.20-1

Source reference: /affected/0/versions

3:3.2.20-1.1

Source reference: /affected/0/versions

3:3.2.21-1

Source reference: /affected/0/versions

3:3.2.25-0+deb12u1

Source reference: /affected/0/versions

Fixed versions
3:3.2.25-0+deb12u2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

python-django

Source reference: /affected/1/package/name

Affected versions
3:4.2.23-1

Source reference: /affected/1/versions

3:4.2.24-1

Source reference: /affected/1/versions

3:4.2.25-1

Source reference: /affected/1/versions

3:4.2.25-2

Source reference: /affected/1/versions

3:4.2.26-1

Source reference: /affected/1/versions

3:4.2.27-0+deb13u1

Source reference: /affected/1/versions

3:4.2.27-1

Source reference: /affected/1/versions

3:4.2.27-2

Source reference: /affected/1/versions

Fixed versions
3:4.2.28-0+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

python-django

Source reference: /affected/2/package/name

Affected versions
3:4.2.23-1

Source reference: /affected/2/versions

3:4.2.24-1

Source reference: /affected/2/versions

3:4.2.25-1

Source reference: /affected/2/versions

3:4.2.25-2

Source reference: /affected/2/versions

3:4.2.26-1

Source reference: /affected/2/versions

3:4.2.27-1

Source reference: /affected/2/versions

3:4.2.27-2

Source reference: /affected/2/versions

Fixed versions
3:4.2.28-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3:3.2.25-0+deb12u2"
          }
        ]
      }
    ],
    "package": {
      "name": "python-django",
      "purl": "pkg:deb/debian/python-django?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "3:3.2.19-1",
      "3:3.2.19-1+deb12u1",
      "3:3.2.19-1+deb12u1~bpo11+1",
      "3:3.2.19-1+deb12u2",
      "3:3.2.20-1",
      "3:3.2.20-1.1",
      "3:3.2.21-1",
      "3:3.2.25-0+deb12u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1285.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3:4.2.28-0+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "python-django",
      "purl": "pkg:deb/debian/python-django?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "3:4.2.23-1",
      "3:4.2.24-1",
      "3:4.2.25-1",
      "3:4.2.25-2",
      "3:4.2.26-1",
      "3:4.2.27-0+deb13u1",
      "3:4.2.27-1",
      "3:4.2.27-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1285.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3:4.2.28-1"
          }
        ]
      }
    ],
    "package": {
      "name": "python-django",
      "purl": "pkg:deb/debian/python-django?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "3:4.2.23-1",
      "3:4.2.24-1",
      "3:4.2.25-1",
      "3:4.2.25-2",
      "3:4.2.26-1",
      "3:4.2.27-1",
      "3:4.2.27-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1285.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#55487 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement