Live threats

All CVEs / Django-user-sessions Project

CVE-2020-5224Django-user-sessions Project Django-user-sessions

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Jan 24, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-326
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django-user-sessions.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django-user-sessions < 1.7.1 1.7.1 pip install "django-user-sessions>=1.7.1"
PyPI django-user-sessions < 1.7.1 1.7.1 pip install "django-user-sessions>=1.7.1"

Per OSV / GitHub Advisories (GHSA-5fq8-3q2f-4m5g, PYSEC-2020-230). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
django-user-sessions_projectdjango-user-sessions< 1.7.1

Official sources

References

Links published by the sources. Open them with care.