{"id":"CVE-2026-71239","state":"PUBLISHED","title":"DjangoCRM - Server-Side Template Injection in Mass Mail Message Rendering","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.","publishedAt":"2026-08-05T10:56:36.819Z","updatedAt":"2026-08-10T11:45:44.417Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"TuranSec"},"assigner":"TuranSec","products":["DjangoCRM django-crm"],"affected":[{"vendor":"DjangoCRM","product":"django-crm","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["massmail/views/message_previews.py","massmail/utils/email_creators.py","massmail/utils/helpers.py"]}],"references":["https://github.com/DjangoCRM/django-crm"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71239.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71239","state":"PUBLISHED","datePublished":"2026-08-05T10:56:36.819Z","dateUpdated":"2026-08-10T11:45:44.417Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T10:53:53.175Z"},"containers":{"cna":{"title":"DjangoCRM - Server-Side Template Injection in Mass Mail Message Rendering","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."}],"affected":[{"vendor":"DjangoCRM","product":"django-crm","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["massmail/views/message_previews.py","massmail/utils/email_creators.py","massmail/utils/helpers.py"]}],"references":[{"url":"https://github.com/DjangoCRM/django-crm","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:45:44.417Z"},"credits":[{"lang":"en","value":"Mirdavlatov Mira'zam","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T10:56:36.819Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T12:56:04.729854Z","id":"CVE-2026-71239","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T12:56:18.098Z"}}]}}}