p PatchFirst

CVE-2025-3930

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.7% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • strapi

    Versions
    • ≥ 0, < 5.24.1: Affected (semver)

    Update to 5.24.1

  • @strapi/strapi npm

    Affected ranges
    • SEMVER: < 5.24.1

    Update to 5.24.1

Original sources

Check your server →