CVE-2026-71239
Full vulnerability record from the local CVENow database.
Description
DjangoCRM's massmail module renders user-controlled EmlMessage fields (subject, content) through Django's Template constructor with no sanitization, in at least three locations: message_previews.py builds an f-string embedding message.subject/message.content directly into a Template call; email_creators.py passes eml_message.subject directly as a template string to Template; and helpers.py contains the same f-string interpolation pattern.
Severity
HIGH
CVSS score
8.1
(v3.1)
Vulnerability status
Deferred
Source identifier
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Published
2026-08-05 11:16:26.750000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
"id": "CVE-2026-71239",
"sourceIdentifier": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"published": "2026-08-05T11:16:26.750",
"lastModified": "2026-10-24T15:10:00.190",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "DjangoCRM's massmail module renders user-controlled EmlMessage fields (subject, content) through Django's Template constructor with no sanitization, in at least three locations: message_previews.py builds an f-string embedding message.subject/message.content directly into a Template call; email_creators.py passes eml_message.subject directly as a template string to Template; and helpers.py contains the same f-string interpolation pattern."
},
{
"lang": "es",
"value": "El módulo de correo masivo de DjangoCRM renderiza campos EmlMessage controlados por el usuario (asunto, contenido) a través del constructor Template() de Django sin sanitización, en al menos tres ubicaciones: message_previews.py construye una f-string que incrusta message.subject/message.content directamente en una llamada a Template(); email_creators.py pasa eml_message.subject directamente como una cadena de plantilla a Template(); y helpers.py contiene el mismo patrón de interpolación de f-string. Un usuario autenticado con derechos de edición de mensajes de correo masivo puede inyectar sintaxis de plantilla de Django ({{ }} / {% %}) que se ejecuta en tiempo de renderizado, permitiendo la divulgación de datos de otros usuarios y hashes de contraseñas a través de variables de contexto de solicitud, falsificación de tokens CSRF, y la inclusión de plantillas registradas arbitrarias."
}
],
"affected": [
{
"source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"affectedData": [
{
"vendor": "DjangoCRM",
"product": "django-crm",
"defaultStatus": "unknown",
"programFiles": [
"massmail/views/message_previews.py",
"massmail/utils/email_creators.py",
"massmail/utils/helpers.py"
],
"versions": [
{
"version": "0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-05T12:56:04.729854Z",
"id": "CVE-2026-71239",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-1336"
}
]
}
],
"references": [
{
"url": "https://github.com/DjangoCRM/django-crm",
"source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"
}
]
}