Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-3930 EUVD-2025-34751GHSA-4r8w-3jww-m2rp

Lack of JWT Expiration after Log Out in Strapi

Published Oct 16, 2025 · Updated Oct 22, 2025 · Assigned by CERT-PL

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.

Affected products

VendorProductAffectedFixed
Strapi Strapi < 5.24.1 5.24.1

Affected packages

EcosystemPackageAffectedFixedRecord
npm @strapi/strapi < 5.24.1 5.24.1 GHSA-4r8w-3jww-m2rp

Advisories 1

References