CVE-2026-71240: CWE-601 URL Redirection to Untrusted Site in DjangoCRM django-crm
DjangoCRM's toggle_default_sorting view is the only route in common/urls.py that is not wrapped in login_required or staff_member_required, and it redirects to a caller-supplied next_url GET parameter after only checking secure_url(next_url), which merely verifies the target host matches the current site's domain (blocking only cross-domain redirects) while allowing any same-site path with no authentication required to reach the view.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-71240) exists in DjangoCRM's django-crm product where the toggle_default_sorting view is accessible without login or staff member restrictions. It redirects to a caller-supplied next_url GET parameter after verifying that the target host matches the current site's domain. However, this check only blocks cross-domain redirects and does not restrict same-site path redirects, allowing unauthenticated users to redirect to any path within the site. This constitutes a CWE-601 URL redirection to an untrusted site within the same domain context.
Potential Impact
The impact is limited to potential URL redirection within the same site domain without authentication. There is no direct confidentiality or availability impact, but it may facilitate phishing or user confusion by redirecting users to unintended pages within the site. The CVSS score is 4.3 (medium severity) reflecting low impact on confidentiality and integrity and no impact on availability.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the toggle_default_sorting view by applying authentication decorators such as login_required or staff_member_required to prevent unauthenticated access. Additionally, improve validation of the next_url parameter to ensure it only redirects to safe and intended paths.
CVE-2026-71240: CWE-601 URL Redirection to Untrusted Site in DjangoCRM django-crm
Description
DjangoCRM's toggle_default_sorting view is the only route in common/urls.py that is not wrapped in login_required or staff_member_required, and it redirects to a caller-supplied next_url GET parameter after only checking secure_url(next_url), which merely verifies the target host matches the current site's domain (blocking only cross-domain redirects) while allowing any same-site path with no authentication required to reach the view.
CVSS v3.1
Score 4.3medium
Affected software
DjangoCRM
django-crm
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-71240) exists in DjangoCRM's django-crm product where the toggle_default_sorting view is accessible without login or staff member restrictions. It redirects to a caller-supplied next_url GET parameter after verifying that the target host matches the current site's domain. However, this check only blocks cross-domain redirects and does not restrict same-site path redirects, allowing unauthenticated users to redirect to any path within the site. This constitutes a CWE-601 URL redirection to an untrusted site within the same domain context.
Potential Impact
The impact is limited to potential URL redirection within the same site domain without authentication. There is no direct confidentiality or availability impact, but it may facilitate phishing or user confusion by redirecting users to unintended pages within the site. The CVSS score is 4.3 (medium severity) reflecting low impact on confidentiality and integrity and no impact on availability.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the toggle_default_sorting view by applying authentication decorators such as login_required or staff_member_required to prevent unauthenticated access. Additionally, improve validation of the next_url parameter to ensure it only redirects to safe and intended paths.
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: 6a731a81bf8831d539c95ca5
Added to database: 08/05/2026, 11:12:01 UTC
Last enriched: 08/12/2026, 14:28:23 UTC
Last updated: 09/17/2026, 22:01:38 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.