Security mailing lists by PureSourceCode

CVE-2024-53907

HIGH 7.5CVSS 3.1

Django denial-of-service in django.utils.html.strip_tags()

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.

Published
6 Dec 2024
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-770
Also known as
BIT-django-2024-53907GHSA-8498-2h75-472jPYSEC-2024-156
Sources
NVDJSONOSV GHSA-8498-2h75-472jJSONOSV PYSEC-2024-156JSON

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:H/SC:N/SI:N/SA:N/E:U
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 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 4.2, < 4.2.17 4.2.17
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 5.0, < 5.0.10 5.0.10
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 5.1, < 5.1.4 5.1.4
OSV PyPI django >= 5.1.0, < 5.1.4 5.1.4
OSV PyPI django >= 4.2.0, < 4.2.17 4.2.17
OSV PyPI django >= 5.0.0, < 5.0.10 5.0.10
OSV PyPI django >= 5.1, < 5.1.4 5.1.4
OSV PyPI django >= 5.0, < 5.0.10 5.0.10
OSV PyPI django >= 4.2, < 4.2.17 4.2.17
OSV PyPI django >= 5.1, < 5.1.4; >= 5.0, < 5.0.10; >= 4.2, < 4.2.17 5.1.4, 5.0.10, 4.2.17

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Dec 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Dec 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Dec 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.