CVE-2018-7537
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars()…
- 5.3MediumCVSS base score
- 4.4%Exploitation in 30 daysEPSS · top 8.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
Timeline
ID reserved
By mitre
- 11 days later
· 11 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 4.4% · top 8.7% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-2f9x-5v75-3qv4 (opens in a new tab)
References
7
- USN-3591-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.djangoproject.com/weblog/2018/mar/06/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2927 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 103357 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2019:0265 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-4161 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0041 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2f9x-5v75-3qv4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-7537)Record last updated .