medium6.3
CVE-2025-3930
Strapi is vulnerable to Insufficient Session Expiration
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @strapi/strapi | < 5.24.1 | 5.24.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://cert.pl/en/posts/2025/06/CVE-2025-3930
- https://github.com/strapi/strapi
- https://strapi.io/
- https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve-October-2025
- https://github.com/advisories/GHSA-4r8w-3jww-m2rp
- https://nvd.nist.gov/vuln/detail/CVE-2025-3930
- https://strapi.io