{"id":"CVE-2020-5224","published":"2020-01-24T20:05:15Z","modified":"2024-08-04T08:22:08Z","title":"Session key exposure through session list in Django User Sessions","vendor":"Jazzband","product":"django-user-sessions","tier":"tail","description":{"text":"In Django User Sessions (django-user-sessions) before 1.7.1, the views provided 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.45525,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/Bouke/django-user-sessions/security/advisories/GHSA-5fq8-3q2f-4m5g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jazzband/django-user-sessions/commit/f0c4077e7d1436ba6d721af85cee89222ca5d2d9","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.11},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"jazzband","affectedVersions":[{"vendor":"Jazzband","product":"django-user-sessions","versions":["< 1.7.1"]}],"affected":[{"ecosystem":"PyPI","package":"django-user-sessions","vulnerableRanges":["<1.7.1"],"patched":["1.7.1"],"from":["GHSA-5fq8-3q2f-4m5g","PYSEC-2020-230"],"provenance":"source"}],"summary":{"text":"The session key exposure lives in the session list views of Jazzband's django-user-sessions package, which render each user's active session keys into the HTML used to terminate individual sessions. An attacker who can exploit a cross-site scripting flaw elsewhere on the site, and who gets a user to interact with the affected page, could extract those session keys and take over the session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:23Z"},"euvd":{"id":"EUVD-2020-0066","exploited":false,"provenance":"source"}}