CVE-2020-5224Medium· 6.5▾ SunlitSession key exposure through session list in Django User Sessions
▾ Sunlit zone — Low / medium · no exploitation signal
impact 35.8 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.4%
0.4% → 0.5%
The views provided by django-user-sessions allow users to terminate specific sessions. The session key is used to identify sessions, and thus included in the rendered HTML. In itself this is not a problem. However if the website has an XSS vulnerability, the session key could be extracted by the attacker and a session takeover could happen.
Patch is under way.
Remove the session_key from the template.
None.
If you have any questions or comments about this advisory:
django-user-sessions < 1.7.1Upgrade to a patched release:
django-user-sessions 1.7.1