Executive brief
django-jet is a popular template for the Django administration interface that provides a responsive dashboard. A security flaw in its OAuth handler allows attackers to perform unauthorized actions via Cross-Site Request Forgery (CSRF). This could lead to the unauthorized modification of dashboard settings or the disconnection of third-party services like Google Analytics, potentially disrupting administrative operations and data reporting.
Technical details
The vulnerability exists within the OAuth Handler and dashboard modules of django-jet up to version 1.0.8. Specifically, the Google Analytics and Yandex Metrika credential revoke endpoints lack authentication, ownership checks, and CSRF protection. Additionally, the OAuth flow uses the module's primary key as the 'state' parameter instead of a cryptographically secure nonce, allowing an attacker to bind a victim's third-party authorization to an attacker-controlled module. Attackers can exploit these flaws remotely by inducing a logged-in staff user to visit a malicious URL. As of the advisory date, the project has not released a patch.
Affected products
- geex-arts django-jet up to 1.0.8
Timeline
- 2026-06-13: disclosed: Issue reported to the developer via GitHub issue #528
- 2026-07-19: advisory: CVE published by VulDB