Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71239DjangoCRM - Server-Side Template Injection in Mass Mail Message Rendering
High 8.1
In plain English
A high-severity security flaw in django-crm from DjangoCRM. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DjangoCRM | django-crm | 0 |
Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/DjangoCRM/django-crm third-party-advisory