Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @strapi/strapi
  4. ›
  5. CVE-2025-3930

CVE-2025-3930: Strapi is vulnerable to Insufficient Session Expiration

October 16, 2025

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.

References

  • github.com/advisories/GHSA-4r8w-3jww-m2rp
  • github.com/strapi/strapi
  • nvd.nist.gov/vuln/detail/CVE-2025-3930
  • strapi.io/

Code Behaviors & Features

Detect and mitigate CVE-2025-3930 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.24.1

Fixed versions

  • 5.24.1

Solution

Upgrade to version 5.24.1 or above.

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

npm/@strapi/strapi/CVE-2025-3930.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 20 Oct 2025 12:18:44 +0000.