CVE-2018-7536
Python packages · 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 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 4.554% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:25.255Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:55:08.353Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:08.353Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://usn.ubuntu.com/3591-1/",
"name": "USN-3591-1",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0051",
"name": "RHSA-2019:0051",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html",
"name": "[debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/103361",
"name": "103361",
"tags": [
"vdb-entry",
"x_transferred"
]
},
{
"url": "https://www.djangoproject.com/weblog/2018/mar/06/security-releases/",
"tags": [
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0082",
"name": "RHSA-2019:0082",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2018:2927",
"name": "RHSA-2018:2927",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0265",
"name": "RHSA-2019:0265",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2018/dsa-4161",
"name": "DSA-4161",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T06:31:04.144Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-r28v-mw67-m5p9",
"aliases": [
"CVE-2018-7536",
"PYSEC-2018-5"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0a1"
},
{
"fixed": "2.0.3"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"2.0",
"2.0.1",
"2.0.2",
"2.0a1",
"2.0b1",
"2.0rc1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-r28v-mw67-m5p9/GHSA-r28v-mw67-m5p9.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.11a1"
},
{
"fixed": "1.11.11"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.11",
"1.11.1",
"1.11.10",
"1.11.2",
"1.11.3",
"1.11.4",
"1.11.5",
"1.11.6",
"1.11.7",
"1.11.8",
"1.11.9",
"1.11a1",
"1.11b1",
"1.11rc1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-r28v-mw67-m5p9/GHSA-r28v-mw67-m5p9.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.8a1"
},
{
"fixed": "1.8.19"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.8",
"1.8.1",
"1.8.10",
"1.8.11",
"1.8.12",
"1.8.13",
"1.8.14",
"1.8.15",
"1.8.16",
"1.8.17",
"1.8.18",
"1.8.2",
"1.8.3",
"1.8.4",
"1.8.5",
"1.8.6",
"1.8.7",
"1.8.8",
"1.8.9",
"1.8a1",
"1.8b1",
"1.8b2",
"1.8c1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-r28v-mw67-m5p9/GHSA-r28v-mw67-m5p9.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7536",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/e157315da3ae7005fa0683ffc9751dbeca7306c8",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2018:2927",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0051",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0082",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0265",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-r28v-mw67-m5p9",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-5.yaml",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/3591-1",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20200227131019/http://www.securityfocus.com/bid/103361",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2018/dsa-4161",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2018/mar/06/security-releases",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-185"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2018-03-09T20:29:00Z",
"github_reviewed_at": "2020-06-16T21:53:19Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2018-5",
"aliases": [
"CVE-2018-7536",
"GHSA-r28v-mw67-m5p9"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.8"
},
{
"fixed": "1.8.19"
},
{
"introduced": "1.11"
},
{
"fixed": "1.11.11"
},
{
"introduced": "2.0"
},
{
"fixed": "2.0.3"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.11",
"1.11.1",
"1.11.10",
"1.11.2",
"1.11.3",
"1.11.4",
"1.11.5",
"1.11.6",
"1.11.7",
"1.11.8",
"1.11.9",
"1.8",
"1.8.1",
"1.8.10",
"1.8.11",
"1.8.12",
"1.8.13",
"1.8.14",
"1.8.15",
"1.8.16",
"1.8.17",
"1.8.18",
"1.8.2",
"1.8.3",
"1.8.4",
"1.8.5",
"1.8.6",
"1.8.7",
"1.8.8",
"1.8.9",
"2.0",
"2.0.1",
"2.0.2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2018-5.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.djangoproject.com/weblog/2018/mar/06/security-releases/",
"type": "ARTICLE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/103361",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/3591-1/",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2018/dsa-4161",
"type": "ADVISORY"
},
{
"url": "https://access.redhat.com/errata/RHSA-2018:2927",
"type": "ADVISORY"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0082",
"type": "ADVISORY"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0051",
"type": "ADVISORY"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0265",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-r28v-mw67-m5p9",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 2.0.3 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.11.11 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.8.19 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2019-01-04T17:50:07.000Z
Source modification: 2024-09-18T20:09:50.350ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2018-03-09T20:29:00.000Z
Source modification: 2023-11-08T04:00:22.813ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:08.353ZArchived source JSON
Source publication: 2018-03-09T00:00:00.000Z
Source modification: 2024-08-05T06:31:04.144ZDocument fingerprint
a4ca479ce56b2fa2875c23f381f6e87053e2dea06f396e85df007b09e3f2d523 - FIRST EPSSConsulted: 2026-11-19T16:04:25.255ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3667369af43a2e08c587b7e227e51782fd94fb781bcb3d5d75d036fed21180aa
Official status history
- UNKNOWN → PUBLISHED · · evidence