CVE-2024-27351: djangoproject django
Vulnerability summary
CVE-2024-27351 is a medium (CVSS 5.3) vulnerability in djangoproject django. EPSS estimates a 1.85% chance of exploitation in the next 30 days, higher than 79.1% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 9Timeline
- 15-03-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232 and CVE-2023-43665.
CVSS metrics
9 scores · 9 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.85%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.85% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse10 products
- python-Django1&distro=SUSE OpenStack Cloud 9< 1.11.29-3.61.1
- python-Django1&distro=SUSE OpenStack Cloud Crowbar 9< 1.11.29-3.61.1
- python-Django1&distro=SUSE Package Hub 15 SP5< 1.11.29-bp155.4.9.1
- python-Django&distro=HPE Helion OpenStack 8< 1.11.29-3.62.1
- python-Django&distro=SUSE OpenStack Cloud 8< 1.11.29-3.62.1
Opensuse3 products
- python-Django1&distro=openSUSE Leap 15.5< 1.11.29-bp155.4.9.1
- python-Django&distro=openSUSE Leap 15.5< 2.0.7-150000.1.17.1 | < 2.2.28-bp155.7.9.1
- python-Django&distro=openSUSE Tumbleweed< 4.2.11-1.1
Redhat2 products
- python-django< 0:2.2.24-9.el9ost
- python3-django< 0:2.2.24-9.el9ost
Alpine1 product
- py3-django< 4.2.11-r0
Chainguard1 product
- py3-django< 5.0.4-r0
Debian1 product
- python-django< 3:3.2.25-0+deb12u1 | < 3:4.2.11-1
Djangoproject1 product
- django≥ 3.2, < 3.2.25 | ≥ 4.2, < 4.2.11 | ≥ 5.0, < 5.0.3
Mageia1 product
- python-django< 4.1.13-1.1.mga9
PyPI1 product
- django≥ 3.2, < 3.2.25 | ≥ 4.2, < 4.2.11 | ≥ 5.0, < 5.0.3
Ubuntu1 product
- python-djangoAll versions (No fix recorded) | < 3:4.2.11-1 | < 2:2.2.12-1ubuntu0.22 | < 2:3.2.12-2ubuntu1.11 | < 1:1.11.11-1ubuntu1.21+esm4
Wolfi1 product
- py3-django< 5.0.4-r0
11 vendors · 23 products
References
46 linksShow all 46 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- github.com/django/djangoPACKAGE