{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-7536","id":"CVE-2018-7536","title":"Django denial-of-service possibility in urlize and urlizetrunc template filters","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 ","descriptionLong":"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.","published":"2018-03-09T00:00:00.000Z","updated":"2026-11-16T10:45:03.999140602Z","reserved":"2018-02-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.0a1 <2.0.3",">=1.11a1 <1.11.11",">=1.8a1 <1.8.19",">=1.8 <1.8.19",">=1.11 <1.11.11",">=2.0 <2.0.3"],"fixed":["2.0.3","1.11.11","1.8.19"],"advisory":"GHSA-r28v-mw67-m5p9"}],"cwes":["CWE-185"],"aliases":["GHSA-r28v-mw67-m5p9","PYSEC-2018-5"],"references":[{"url":"https://usn.ubuntu.com/3591-1/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0051","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/103361","tags":["vdb-entry","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases/","tags":["x_transferred","Release Notes","Vendor Advisory","advisory","article"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0082","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0265","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2018/dsa-4161","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2","tags":["x_transferred","fix","web"]},{"url":"https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16","tags":["x_transferred","fix","web"]},{"url":"https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8","tags":["x_transferred","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7536","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r28v-mw67-m5p9","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-5.yaml","tags":["web"]},{"url":"https://usn.ubuntu.com/3591-1","tags":["web"]},{"url":"https://web.archive.org/web/20200227131019/http://www.securityfocus.com/bid/103361","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04554,"epssPercentile":0.91769,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-7536","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7536","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-7536","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r28v-mw67-m5p9","ok":true,"note":"GHSA-r28v-mw67-m5p9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-7536","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}