CVE-2018-7536
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. The django.utils.html.urlize() function…
- 5.3MediumCVSS base score
- 4.6%Exploitation in 30 daysEPSS · top 8.3% 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. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc 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.6% · top 8.3% 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-r28v-mw67-m5p9 (opens in a new tab)
References
12
- USN-3591-1 (opens in a new tab)vendor-advisoryx_transferred
- RHSA-2019:0051 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update (opens in a new tab)mailing-listx_transferred
- 103361 (opens in a new tab)vdb-entryx_transferred
- https://www.djangoproject.com/weblog/2018/mar/06/security-releases/ (opens in a new tab)x_transferred
- RHSA-2019:0082 (opens in a new tab)vendor-advisoryx_transferred
- RHSA-2018:2927 (opens in a new tab)vendor-advisoryx_transferred
- RHSA-2019:0265 (opens in a new tab)vendor-advisoryx_transferred
- DSA-4161 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2 (opens in a new tab)x_transferred
- https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16 (opens in a new tab)x_transferred
- https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8 (opens in a new tab)x_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-0040 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r28v-mw67-m5p9 (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-7536)Record last updated .