CVE-2026-71239: DjangoCRM: Server-Side Template Injection in Mass Mail Message Rendering

Published Aug 5, 2026
·
Updated

DjangoCRM's massmail module renders user-controlled EmlMessage fields (subject, content) through Django's Template() constructor with no sanitization, in at least three locations: messagepreviews.py builds an f-string embedding message.subject/message.content directly into a Template() call; emailcreators.py passes emlmessage.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.

Affected Software

1 affected component
DjangoCRM

Event History

Aug 5, 2026
CVE Published
via MITRE·10:56 AM
Data Sourced
via MITRE·10:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71239?

CVE-2026-71239 has a high severity rating of 8.8.

2

What risk does CVE-2026-71239 pose?

CVE-2026-71239 poses a risk score of 62, indicating a significant vulnerability.

3

How do I fix CVE-2026-71239?

To fix CVE-2026-71239, ensure that user-controlled inputs are properly sanitized before being rendered in templates.

4

What kind of injection vulnerability is described in CVE-2026-71239?

CVE-2026-71239 describes a Server-Side Template Injection vulnerability due to unsanitized input in DjangoCRM.

5

Which module of DjangoCRM is affected by CVE-2026-71239?

The massmail module of DjangoCRM is affected by CVE-2026-71239 due to its handling of EmlMessage fields.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203