Skip to main content
← All vulnerabilities
CVE-2025-3930GHSA-4R8W-3JWW-M2RP

Lack of JWT Expiration after Log Out in Strapi

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.24.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Strapi Strapi

    fixed in 5.24.1

  • @strapi/strapinpm

    fixed in 5.24.1

References 4

cert.pl

GitHub · strapi/strapi

strapi.io