CVE-2020-5224 – django-user-sessions
Package
Manager: pip
Name: django-user-sessions
Vulnerable Version: >=0 <1.7.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
EPSS: 0.00129 pctl0.33202
Details
Session key exposure through session list in Django User Sessions ### Impact 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. ### Patches Patch is under way. ### Workarounds Remove the session_key from the template. ### References _None._ ### For more information If you have any questions or comments about this advisory: * Open an issue in [Bouke/django-user-sessions](https://github.com/Bouke/django-user-sessions/issues) * Email us at [bouke@haarsma.eu](mailto:bouke@haarsma.eu)
Metadata
Created: 2020-01-24T19:56:59Z
Modified: 2024-09-16T21:59:21Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-5fq8-3q2f-4m5g/GHSA-5fq8-3q2f-4m5g.json
CWE IDs: ["CWE-287"]
Alternative ID: GHSA-5fq8-3q2f-4m5g
Finding: F039
Auto approve: 1