Skip to main content
EPSS 0.2%top 87%

CVE-2026-71239: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine in DjangoCRM django-crm

0
High
Published: 08/05/2026 (08/05/2026, 10:56:36 UTC)
Source: CVE Database V5
Vendor/Project: DjangoCRM
Product: django-crm

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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

DjangoCRM

django-crm

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:28:14 UTC

Technical Analysis

DjangoCRM's django-crm massmail module improperly handles user-controlled EmlMessage fields (subject, content) by rendering them through Django's Template constructor without sanitization in at least three locations: message_previews.py, email_creators.py, and helpers.py. This improper neutralization of special elements (CWE-1336) can lead to injection of malicious template code, potentially compromising confidentiality and integrity of the system. The vulnerability is tracked as CVE-2026-71239 with a CVSS 3.1 score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N). No patch or remediation guidance is currently provided by the vendor or advisory sources.

Potential Impact

The vulnerability allows an attacker with at least low privileges (PR:L) and no user interaction (UI:N) to inject malicious template code via email message subject or content fields. Successful exploitation can lead to high confidentiality and integrity impact, such as unauthorized data disclosure or modification within the affected DjangoCRM system. Availability impact is not indicated. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input in template rendering within the massmail module. Consider applying manual input sanitization or disabling the affected functionality if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a731a81bf8831d539c95ca2

Added to database: 08/05/2026, 11:12:01 UTC

Last enriched: 08/12/2026, 14:28:14 UTC

Last updated: 09/19/2026, 22:01:37 UTC

Views: 52

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses