CVE-2017-12794
Estado: ModificadaMedia (6.1)—💥 Exploit
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.
CVSS
- Versión: 3.0
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Puntuación base: 6.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 24%
- Percentil entre todas las CVEs puntuadas: 98
- Fecha de la puntuación: 7/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
💥 Exploits públicos
Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.
- Plantilla de Nuclei (detección automática y masiva) · Django Debug Page - Cross-Site Scripting
Tecnologías afectadas (1)
CWE
- CWE-79
Referencias
- http://www.securityfocus.com/bid/100643
- http://www.securitytracker.com/id/1039264
- https://usn.ubuntu.com/3559-1/
- https://www.djangoproject.com/weblog/2017/sep/05/security-releases/
- http://www.securityfocus.com/bid/100643
- http://www.securitytracker.com/id/1039264
- https://usn.ubuntu.com/3559-1/
- https://www.djangoproject.com/weblog/2017/sep/05/security-releases/
JSON original (NVD)
Mostrar
{
"id": "CVE-2017-12794",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4.3,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
],
"cvssMetricV30": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "CHANGED",
"version": "3.0",
"baseScore": 6.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.7,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2017-09-07T13:29:00.467",
"references": [
{
"url": "http://www.securityfocus.com/bid/100643",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securitytracker.com/id/1039264",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "cve@mitre.org"
},
{
"url": "https://usn.ubuntu.com/3559-1/",
"source": "cve@mitre.org"
},
{
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/100643",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securitytracker.com/id/1039264",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://usn.ubuntu.com/3559-1/",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/",
"tags": [
"Patch",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"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't affect most production sites since you shouldn't 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ó la función de autoescapado HTML en una parte de la plantilla para la página de depuración technical 500. En las condiciones adecuadas, esto permitiría un ataque de Cross-Site Scripting (XSS). Esta vulnerabilidad no debería afectar a la mayoría de sitios de producción, ya que no se debería ejecutar el programa con \"DEBUG = True\" (lo que hace que esta página sea accesible) en la configuración de producción."
}
],
"lastModified": "2026-06-17T01:03:56.813",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5D2541CE-0462-46DF-BDD8-C19D6E45140B"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2CE31960-7C68-42F3-B215-B30A87DB67CC"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B3838B8E-8F0E-4F7A-88E6-FFF2590E5302"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0D6C6214-7946-4025-84E6-59448CFE75B1"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "58182835-CB1F-4490-AE65-90601DBFD0D5"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "04AE04CD-E923-4630-9BAA-5A4D5A5D0055"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2517FB1C-B732-432B-9F27-EE60F6556433"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "28F4BB27-B6AF-47AD-9301-DDFF4198B9F1"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CC58EB0F-6DE0-450B-A963-2CA4084BDE71"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "437E4D87-F5C9-4954-9882-396C0ADF649E"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D64C7397-B2A8-4C93-AC09-337E243A7483"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4F3CDEA7-EFB7-4F4B-872B-1D18CDE340CB"
},
{
"criteria": "cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "08EFE4B2-E975-4842-BCAB-528D03F4AB73"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}