{"cve":"CVE-2018-7536","nvd":{"published":"2018-03-09T20:29:00.613","modified":"2026-06-17T02:03:19.577","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-185"],"references":["http://www.securityfocus.com/bid/103361","https://access.redhat.com/errata/RHSA-2018:2927","https://access.redhat.com/errata/RHSA-2019:0051","https://access.redhat.com/errata/RHSA-2019:0082","https://access.redhat.com/errata/RHSA-2019:0265"],"products":["canonical:ubuntu_linux","debian:debian_linux","djangoproject:django","redhat:openstack"],"source":"nvd","synced_at":"2026-10-19T20:48:50.842038930+00:00"},"epss":{"cve":"CVE-2018-7536","score":0.04554,"percentile":0.91593,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r28v-mw67-m5p9","url":"https://osv.dev/vulnerability/GHSA-r28v-mw67-m5p9","summary":"Django denial-of-service possibility in urlize and urlizetrunc template filters","modified":"2024-09-18T20:09:50.350214Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.0a1 <2.0.3"],"fixed":["2.0.3"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.11a1 <1.11.11"],"fixed":["1.11.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.8a1 <1.8.19"],"fixed":["1.8.19"]}]},{"id":"PYSEC-2018-5","url":"https://osv.dev/vulnerability/PYSEC-2018-5","summary":"","modified":"2023-11-08T04:00:22.813615Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.8 <1.8.19",">=1.11 <1.11.11",">=2.0 <2.0.3"],"fixed":["1.8.19","1.11.11","2.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}