Lack of JWT Expiration after Log Out in Strapi
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Strapi 5.24.1.
Strapi uses JSON Web Tokens (JWT) for authentication. After logout or account deactivation, the JWT is not invalidated, which allows an attacker who has stolen or intercepted the token to freely reuse it until its expiration date (which is set to 30 days by default, but can be changed). The existence of /admin/renew-token endpoint allows anyone to renew near-expiration tokens indefinitely, further increasing the impact of this attack. This issue has been fixed in version 5.24.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Strapi | Strapi | <5.24.1 | 5.24.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Strapi, strongest first
Embed
A live severity badge for an advisory, README or ticket