CVE-2024-22513

MEDIUM

djangorestframework-simplejwt <5.3.1 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-22513. PoCs published by Dhrumil Mistry.

AI-analyzed exploit summary This is a technical writeup demonstrating an information disclosure vulnerability in djangorestframework-simplejwt <= 5.3.1, where JWT tokens remain valid for inactive users due to missing validation checks. The code shows how an inactive user can still generate and verify tokens, leading to potential BOLA/BFLA issues.

Description

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.

Exploits (1)

exploitdb WRITEUP
by Dhrumil Mistry · pythonwebappspython
https://www.exploit-db.com/exploits/51992

This is a technical writeup demonstrating an information disclosure vulnerability in djangorestframework-simplejwt <= 5.3.1, where JWT tokens remain valid for inactive users due to missing validation checks. The code shows how an inactive user can still generate and verify tokens, leading to potential BOLA/BFLA issues.

Classification
Writeup 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: djangorestframework-simplejwt <= 5.3.1
Auth required
Prerequisites: Access to Django shell · Ability to create inactive users · djangorestframework-simplejwt <= 5.3.1 installed
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 46.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-306
Status published
Products (1)
pypi/djangorestframework-simplejwt 0 - 5.5.1PyPI
Published Mar 16, 2024
Tracked Since Feb 18, 2026