FKIE_CVE-2017-12794
Vulnerability from fkie_nvd - Published: 2017-09-07 13:29 - Updated: 2026-06-17 01:03
Severity
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.
References
| URL | Tags | ||
|---|---|---|---|
| cve@mitre.org | http://www.securityfocus.com/bid/100643 | Third Party Advisory, VDB Entry | |
| cve@mitre.org | http://www.securitytracker.com/id/1039264 | Third Party Advisory, VDB Entry | |
| cve@mitre.org | https://usn.ubuntu.com/3559-1/ | ||
| cve@mitre.org | https://www.djangoproject.com/weblog/2017/sep/05/security-releases/ | Patch, Vendor Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | http://www.securityfocus.com/bid/100643 | Third Party Advisory, VDB Entry | |
| af854a3a-2127-422b-91ae-364da2661108 | http://www.securitytracker.com/id/1039264 | Third Party Advisory, VDB Entry | |
| af854a3a-2127-422b-91ae-364da2661108 | https://usn.ubuntu.com/3559-1/ | ||
| af854a3a-2127-422b-91ae-364da2661108 | https://www.djangoproject.com/weblog/2017/sep/05/security-releases/ | Patch, Vendor Advisory |
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| djangoproject | django | 1.10.0 | |
| djangoproject | django | 1.10.1 | |
| djangoproject | django | 1.10.2 | |
| djangoproject | django | 1.10.3 | |
| djangoproject | django | 1.10.4 | |
| djangoproject | django | 1.10.5 | |
| djangoproject | django | 1.10.6 | |
| djangoproject | django | 1.10.7 | |
| djangoproject | django | 1.11.0 | |
| djangoproject | django | 1.11.1 | |
| djangoproject | django | 1.11.2 | |
| djangoproject | django | 1.11.3 | |
| djangoproject | django | 1.11.4 |
{
"affected": [
{
"affectedData": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"source": "cve@mitre.org"
}
],
"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-06-17T01:03:56.813",
"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"
}
]
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
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.