Vulnerabilities/

Strapi is vulnerable to Insufficient Session Expiration

Severity:
Medium

Description

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).

Recommendation

Update the @strapi/strapi package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@strapi/strapi
Anything's wrong? Let us know Last updated on October 22, 2025