CVE-2017-12794 (GCVE-0-2017-12794)
Vulnerability from cvelistv5 – Published: 2017-09-07 13:00 – Updated: 2024-08-05 18:51
VLAI
EPSS
VEX
Summary
In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with "DEBUG = True" (which makes this page accessible) in your production settings.
Severity
6.1 (Medium)
CWE
- n/a
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://usn.ubuntu.com/3559-1/ | vendor-advisoryx_refsource_UBUNTU |
| http://www.securityfocus.com/bid/100643 | vdb-entryx_refsource_BID |
| http://www.securitytracker.com/id/1039264 | vdb-entryx_refsource_SECTRACK |
| https://www.djangoproject.com/weblog/2017/sep/05/… | x_refsource_CONFIRM |
Date Public
2017-09-05 00:00
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-05T18:51:07.127Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "USN-3559-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"name": "100643",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"name": "1039264",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"datePublic": "2017-09-05T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2018-03-15T09:57:02.000Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"name": "USN-3559-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"name": "100643",
"tags": [
"vdb-entry",
"x_refsource_BID"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"name": "1039264",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-12794",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "USN-3559-1",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"name": "100643",
"refsource": "BID",
"url": "http://www.securityfocus.com/bid/100643"
},
{
"name": "1039264",
"refsource": "SECTRACK",
"url": "http://www.securitytracker.com/id/1039264"
},
{
"name": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/",
"refsource": "CONFIRM",
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2017-12794",
"datePublished": "2017-09-07T13:00:00.000Z",
"dateReserved": "2017-08-10T00:00:00.000Z",
"dateUpdated": "2024-08-05T18:51:07.127Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2017-12794",
"date": "2026-09-18",
"epss": "0.23566",
"percentile": "0.97693"
},
"fkie_nvd": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*",
"matchCriteriaId": "5D2541CE-0462-46DF-BDD8-C19D6E45140B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*",
"matchCriteriaId": "2CE31960-7C68-42F3-B215-B30A87DB67CC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*",
"matchCriteriaId": "B3838B8E-8F0E-4F7A-88E6-FFF2590E5302",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*",
"matchCriteriaId": "0D6C6214-7946-4025-84E6-59448CFE75B1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*",
"matchCriteriaId": "58182835-CB1F-4490-AE65-90601DBFD0D5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*",
"matchCriteriaId": "04AE04CD-E923-4630-9BAA-5A4D5A5D0055",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*",
"matchCriteriaId": "2517FB1C-B732-432B-9F27-EE60F6556433",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*",
"matchCriteriaId": "28F4BB27-B6AF-47AD-9301-DDFF4198B9F1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*",
"matchCriteriaId": "CC58EB0F-6DE0-450B-A963-2CA4084BDE71",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*",
"matchCriteriaId": "437E4D87-F5C9-4954-9882-396C0ADF649E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*",
"matchCriteriaId": "D64C7397-B2A8-4C93-AC09-337E243A7483",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*",
"matchCriteriaId": "4F3CDEA7-EFB7-4F4B-872B-1D18CDE340CB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*",
"matchCriteriaId": "08EFE4B2-E975-4842-BCAB-528D03F4AB73",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
},
{
"lang": "es",
"value": "En Django versiones 1.10.x anteriores a la 1.10.8 y versiones 1.11.x anteriores a la 1.11.5, se deshabilit\u00f3 la funci\u00f3n de autoescapado HTML en una parte de la plantilla para la p\u00e1gina de depuraci\u00f3n technical 500. En las condiciones adecuadas, esto permitir\u00eda un ataque de Cross-Site Scripting (XSS). Esta vulnerabilidad no deber\u00eda afectar a la mayor\u00eda de sitios de producci\u00f3n, ya que no se deber\u00eda ejecutar el programa con \"DEBUG = True\" (lo que hace que esta p\u00e1gina sea accesible) en la configuraci\u00f3n de producci\u00f3n."
}
],
"id": "CVE-2017-12794",
"lastModified": "2024-11-21T03:10:12.357",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": true
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2017-09-07T13:29:00.467",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"source": "cve@mitre.org",
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"source": "cve@mitre.org",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"nvd": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*",
"matchCriteriaId": "5D2541CE-0462-46DF-BDD8-C19D6E45140B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*",
"matchCriteriaId": "2CE31960-7C68-42F3-B215-B30A87DB67CC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*",
"matchCriteriaId": "B3838B8E-8F0E-4F7A-88E6-FFF2590E5302",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*",
"matchCriteriaId": "0D6C6214-7946-4025-84E6-59448CFE75B1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*",
"matchCriteriaId": "58182835-CB1F-4490-AE65-90601DBFD0D5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*",
"matchCriteriaId": "04AE04CD-E923-4630-9BAA-5A4D5A5D0055",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*",
"matchCriteriaId": "2517FB1C-B732-432B-9F27-EE60F6556433",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*",
"matchCriteriaId": "28F4BB27-B6AF-47AD-9301-DDFF4198B9F1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*",
"matchCriteriaId": "CC58EB0F-6DE0-450B-A963-2CA4084BDE71",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*",
"matchCriteriaId": "437E4D87-F5C9-4954-9882-396C0ADF649E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*",
"matchCriteriaId": "D64C7397-B2A8-4C93-AC09-337E243A7483",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*",
"matchCriteriaId": "4F3CDEA7-EFB7-4F4B-872B-1D18CDE340CB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*",
"matchCriteriaId": "08EFE4B2-E975-4842-BCAB-528D03F4AB73",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
},
{
"lang": "es",
"value": "En Django versiones 1.10.x anteriores a la 1.10.8 y versiones 1.11.x anteriores a la 1.11.5, se deshabilit\u00f3 la funci\u00f3n de autoescapado HTML en una parte de la plantilla para la p\u00e1gina de depuraci\u00f3n technical 500. En las condiciones adecuadas, esto permitir\u00eda un ataque de Cross-Site Scripting (XSS). Esta vulnerabilidad no deber\u00eda afectar a la mayor\u00eda de sitios de producci\u00f3n, ya que no se deber\u00eda ejecutar el programa con \"DEBUG = True\" (lo que hace que esta p\u00e1gina sea accesible) en la configuraci\u00f3n de producci\u00f3n."
}
],
"id": "CVE-2017-12794",
"lastModified": "2026-05-13T00:24:29.033",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": true
}
],
"cvssMetricV30": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2017-09-07T13:29:00.467",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"source": "cve@mitre.org",
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"source": "cve@mitre.org",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securityfocus.com/bid/100643"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "http://www.securitytracker.com/id/1039264"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://usn.ubuntu.com/3559-1/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Vendor Advisory"
],
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-05-13T02:07:50+00:00",
"cve": "CVE-2017-12794",
"id": "CVE-2017-12794",
"initial_release_date": "2017-09-05T00:00:00+00:00",
"product_status:known_not_affected": "47",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "python-django: Possible XSS in traceback section of technical 500 debug page",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-12794.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-07-19T18:32:11Z",
"cve": "CVE-2017-12794",
"id": "CVE-2017-12794",
"initial_release_date": "2023-02-15T04:41:30Z",
"product_status:known_not_affected": "3",
"product_status:recommended": "21",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2017-12794",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2017-12794.json",
"version": "13"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…