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

Published Oct 16, 2025
·
Updated

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

2 affected componentsFixes available
Strapi Strapi<5.24.1
npm/@strapi/strapi<5.24.1
5.24.1

Event History

Oct 16, 2025
CVE Published
via MITRE·10:43 AM
Data Sourced
via MITRE·10:43 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-3930?

CVE-2025-3930 has a medium severity rating due to the potential for unauthorized access with stolen JSON Web Tokens.

2

How do I fix CVE-2025-3930?

To mitigate CVE-2025-3930, ensure that your application invalidates JSON Web Tokens upon logout or account deactivation.

3

Which versions of Strapi are affected by CVE-2025-3930?

CVE-2025-3930 affects Strapi versions up to 5.24.1.

4

What type of vulnerability is CVE-2025-3930?

CVE-2025-3930 is an authentication vulnerability related to the improper handling of JSON Web Tokens.

5

Can an attacker exploit CVE-2025-3930 remotely?

Yes, an attacker can exploit CVE-2025-3930 remotely if they have access to a valid JSON Web Token.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203