CVE-2020-5224
Session key exposure through session list in Django User Sessions
6.5
MEDIUM
CVSS 3.1
EPSS 0.12%
Description
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.
How to fix CVE-2020-5224
To remediate CVE-2020-5224, upgrade the affected package to a fixed version below.
- —upgrade to 1.7.1 or later
- —upgrade to f0c4077e7d1436ba6d721af85cee89222ca5d2d9 or later
Is CVE-2020-5224 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.7.1
- from 0, < f0c4077e7d1436ba6d721af85cee89222ca5d2d9 | from 0, < 1.7.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |