VDB

CVE-2018-7536

CVE-2018-7536 PUBLISHED CVSS 5.300000190734863 MEDIUM

Django denial-of-service possibility in urlize and urlizetrunc template filters

Reported by mitre · Published March 9, 2018

Django is fixed in 2.0.3, 1.11.11 and 1.8.19 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPI2.0.3, 1.11.11, 1.8.19
py-djangoAlpine1.11.11-r0, 1.8.19-r0

Risk scores

CVSS 3.0
5.300000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
n/an/an/a
alpinepy-django0, 0
n/an/a*
archpython-django0
PyPIDjango2.0a1, 1.11a1, 1.8a1
alpinepy3-django0
PyPIDjango

Timeline

  • Mar 6, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 19, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-7536
vulnetix vdb fixes CVE-2018-7536

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-7536/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›