{"id":"CVE-2024-22513","aliases":["GHSA-5vcc-86wm-547q","PYSEC-2026-1305"],"url":"https://o3.security/vulnerability/CVE-2024-22513","summary":"Improper Privilege Management in djangorestframework-simplejwt","details":"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":"2024-03-16T07:15:06Z","modified":"2026-07-07T17:56:47.386299153Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"djangorestframework-simplejwt","fixedVersion":"5.5.1"}],"fix":{"url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/872","label":"jazzband/djangorestframework-simplejwt#872"},"references":[{"type":"WEB","url":"https://github.com/dmdhrumilmistry/CVEs/tree/main/CVE-2024-22513"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22513"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/issues/779"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/872"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/873"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/pull/891"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/14e8b2cf5fa0df954af82ff3926fa6d6c4ecf13e"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/1ad763bfe73936515aa4756263338c63866364c9"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/commit/a2d0a0201b6123536ecf76cd4d0ec7389317d0a7"},{"type":"PACKAGE","url":"https://github.com/jazzband/djangorestframework-simplejwt"},{"type":"WEB","url":"https://github.com/jazzband/djangorestframework-simplejwt/blob/c791e987332ed5e22a86428160d6372b1d85ffae/rest_framework_simplejwt/tokens.py#L281"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:56:47.386299153Z"}}