CVE-2025-3930
Lack of JWT Expiration after Log Out in Strapi
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.
INFO
Published Date :
Oct. 16, 2025, 11:15 a.m.
Last Modified :
Oct. 16, 2025, 3:28 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 4.0 | MEDIUM | 4bb8329e-dd38-46c1-aafb-9bf32bcb93c6 | ||||
CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Strapi to version 5.24.1 or later.
- Implement token invalidation upon user logout.
- Disable the /admin/renew-token endpoint.
- Review and reduce JWT expiration times.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-3930
.
URL | Resource |
---|---|
https://cert.pl/en/posts/2025/06/CVE-2025-3930 | |
https://cert.pl/posts/2025/06/CVE-2025-3930 | |
https://github.com/strapi/strapi | |
https://strapi.io/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-3930
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-3930
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-3930
vulnerability anywhere in the article.

-
cert.pl
Vulnerability in Strapi software
Vulnerability in Strapi software CVE ID CVE-2025-3930 Publication date 16 October 2025 Vendor Strapi Product Strapi Vulnerable versions All before 5.24.1 Vulnerability type (CWE) Insufficient Session ... Read more
The following table lists the changes that have been made to the
CVE-2025-3930
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Oct. 16, 2025
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-613 Added Reference https://cert.pl/en/posts/2025/06/CVE-2025-3930 Added Reference https://cert.pl/posts/2025/06/CVE-2025-3930 Added Reference https://github.com/strapi/strapi Added Reference https://strapi.io/