Advisory

GHSA-4r8w-3jww-m2rp

Also known as: CVE-2025-3930

Summary

Strapi is vulnerable to Insufficient Session Expiration

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-16 12:30 UTC
Modified
2025-10-22 19:36 UTC

Affected packages and fixes

@strapi/strapi

npm · All systems

Affected

  • introduced 0, fixed 5.24.1 (semver)

Fixed versions

5.24.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences