Strapi is vulnerable to Insufficient Session Expiration
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @strapi/strapi | < 5.24.1 | 5.24.1 |
References
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-613- Platform
- npm
- Package
@strapi/strapi- Disclosed
- 16.10.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4r8w-3jww-m2rp - CC BY 4.0
Vulnerability history: @strapi/strapi
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 05.2022 05.2026
- Without a fix
- 2
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 7
- Medium 3
Disclosures per year
- 2022: 5
- 2023: 3
- 2024: 1
- 2025: 1
- 2026: 1
-
Strapi is vulnerable to Insufficient Session Expiration this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.