NetSight
medium6.5

CVE-2020-5224

Session key exposure through session list in Django User Sessions

Impact

### 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)

Affected packages

EcosystemPackageAffectedFixed in
pipdjango-user-sessions< 1.7.11.7.1

Affected products

VendorProductAffected versions
Django-User-Sessions ProjectDjango-User-Sessions
before 1.7.1

Weakness classification

References