Skip to content

CVE-2025-3930 Lack of JWT Expiration after Log Out in Strapi

MediumCVSS 6.3 EPSS 0.70%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
strapi @strapi/strapi < 5.24.1 5.24.1 Fixed
strapi @strapi/strapi(npm) < 5.24.1 5.24.1 Fixed

Affected products

ProductAffected versionsFixed in
strapi @strapi/strapi(npm) < 5.24.1 5.24.1
strapi @strapi/strapi < 5.24.1 5.24.1

References