CVE-2026-71239
DjangoCRM: Server-Side Template Injection in Mass Mail Message Rendering
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. An authenticated user with mass-mail message edit rights can inject Django template syntax ({{ }} / {% %}) that executes at render time, enabling disclosure of other users' data and password hashes via request context variables, CSRF token forgery, and inclusion of arbitrary registered templates.
| CWE | CWE-1336 |
| Vendor | djangocrm |
| Product | django-crm |
| Published | Aug 5, 2026 |
| Last Updated | Aug 5, 2026 |
Get instant alerts for djangocrm django-crm
Be the first to know when new high vulnerabilities affecting djangocrm django-crm are published โ delivered to Slack, Telegram or Discord.
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N