—
PYSEC-2020-230
Quick fix
PYSEC-2020-230 — django-user-sessions: upgrade to the fixed version with the command below.
pip install --upgrade 'django-user-sessions>=f0c4077e7d1436ba6d721af85cee89222ca5d2d9'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/django-user-sessions
Introduced in:
0Fixed in: f0c4077e7d1436ba6d721af85cee89222ca5d2d9Fix
pip install --upgrade 'django-user-sessions>=f0c4077e7d1436ba6d721af85cee89222ca5d2d9'