What’s Vulnerable › Vulnerabilities

CVE-2020-5224: Session key exposure through session list in Django User Sessions

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.

Affected products

How to fix

Upgrade to a fixed version: Jazzband django-user-sessions 1.7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5224 or the next vulnerability affects your stack