# Django denial-of-service attack in the intcomma template filter

Advisory record · `GHSA-xxj9-f6rv-m3x4`

- **Identifiers:** `GHSA-xxj9-f6rv-m3x4` · `BIT-django-2024-24680` · `CVE-2024-24680` · `PYSEC-2024-28`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 7 Feb 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 7 Feb 2024, 00:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `django` (PyPI): affected `>=3.2, <3.2.24 || >=4.2, <4.2.10 || >=5.0, <5.0.2`; fixed in `3.2.24`, `4.2.10`, `5.0.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Django versions 3.2 before 3.2.24, 4.2 before 4.2.10, and 5.0 before 5.0.2 are affected. The intcomma template filter can be driven into a denial-of-service condition when it is given very long strings, so an attacker who can supply such input to a template using this filter can cause excessive resource use. Upgrade to Django 3.2.24, 4.2.10, or 5.0.2 or later.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.016, the 76th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:36 UTC: First seen by agentprime
- 31 Oct 2026, 14:36 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-xxj9-f6rv-m3x4)

## Sources

- [GitHub Advisory Database: GHSA-xxj9-f6rv-m3x4](https://github.com/advisories/GHSA-xxj9-f6rv-m3x4)
- [OSV: GHSA-xxj9-f6rv-m3x4](https://osv.dev/vulnerability/GHSA-xxj9-f6rv-m3x4)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24680>
- <https://github.com/django/django/commit/16a8fe18a3b81250f4fa57e3f93f0599dc4895bc>
- <https://github.com/django/django/commit/55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9>
- <https://github.com/django/django/commit/572ea07e84b38ea8de0551f4b4eda685d91d09d2>
- <https://github.com/django/django/commit/c1171ffbd570db90ca206c30f8e2b9f691243820>
- <https://docs.djangoproject.com/en/5.0/releases/security>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-28.yaml>
- <https://groups.google.com/forum/#%21forum/django-announce>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xxj9-f6rv-m3x4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xxj9-f6rv-m3x4/>. Everything for agents: <https://agentprime.io/llms.txt>.
