CVE-2020-5224
HIGH 8.8CVSS 3.1Session key exposure through session list in Django User Sessions
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.
- Published
- 24 Jan 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287CWE-326
- Also known as
- GHSA-5fq8-3q2f-4m5gPYSEC-2020-230
- Sources
- NVDJSONOSV GHSA-5fq8-3q2f-4m5gJSONOSV PYSEC-2020-230JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django-user-sessions_project | django-user-sessionscpe:2.3:a:django-user-sessions_project:django-user-sessions:*:*:*:*:*:*:*:* |
< 1.7.1 | 1.7.1 |
| OSV | PyPI | django-user-sessions | < 1.7.1 | 1.7.1 |
References
- https://github.com/Bouke/django-user-sessions/security/advisories/GHSA-5fq8-3q2f-4m5g · Third Party Advisory, WEB, ADVISORY
- https://github.com/jazzband/django-user-sessions/commit/f0c4077e7d1436ba6d721af85cee89222ca5d2d9 · Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2020-5224 · ADVISORY
- https://github.com/Bouke/django-user-sessions · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django-user-sessions/PYSEC-2020-230.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Jan 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Jan 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jan 2020)