CVE-2024-22513
MEDIUM 5.5CVSS 3.1Improper Privilege Management in djangorestframework-simplejwt
djangorestframework-simplejwt version 5.3.1 and before is vulnerable to information disclosure. A user can access web application resources even after their account has been disabled due to missing user validation checks via the for_user method.
- Published
- 16 Mar 2024
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-269CWE-306
- Also known as
- GHSA-5vcc-86wm-547qPYSEC-2026-1305
- Sources
- NVDJSONOSV GHSA-5vcc-86wm-547qJSONOSV PYSEC-2026-1305JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | djangorestframework-simplejwt | < 5.5.1 | 5.5.1 |
References
- https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22513 · ADVISORY
- https://github.com/jazzband/djangorestframework-simplejwt/issues/779 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/pull/872 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/pull/873 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/pull/891 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7 · WEB
- https://github.com/jazzband/djangorestframework-simplejwt · PACKAGE
- https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281 · WEB
- https://pypi.org/project/djangorestframework-simplejwt · PACKAGE
- https://github.com/advisories/GHSA-5vcc-86wm-547q · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Mar 2024)