CVE-2025-3930

Lack of JWT Expiration after Log Out in Strapi

State
Published
Severity
6.3 Medium
Published
Oct 16, 2025
Updated
Oct 22, 2025
Reserved
Apr 25, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NCERT-PL

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
StrapiStrapi
  • before 5.24.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.