Security mailing lists by PureSourceCode

CVE-2024-45230

HIGH 7.5CVSS 3.1

Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters

An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

Published
8 Oct 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-120CWE-400
Also known as
BIT-django-2024-45230GHSA-5hgc-2vfp-mqvcPYSEC-2024-102
Sources
NVDJSONOSV GHSA-5hgc-2vfp-mqvcJSONOSV PYSEC-2024-102JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.16 4.2.16
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 5.0, < 5.0.9 5.0.9
NVD djangoproject django
cpe:2.3:a:djangoproject:django:5.1:*:*:*:*:*:*:*
= 5.1
OSV PyPI django >= 5.1, < 5.1.1 5.1.1
OSV PyPI django >= 5.0, < 5.0.9 5.0.9
OSV PyPI django >= 4.2, < 4.2.16 4.2.16
OSV PyPI django >= 5.1, < 5.1.1; >= 5.0, < 5.0.9; >= 4.2, < 4.2.16 5.1.1, 5.0.9, 4.2.16

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 8 Oct 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Oct 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.