CVE-2025-3930
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedStrapi 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStrapi versions prior to 5.24.1 do not invalidate JSON Web Tokens upon user logout or account deactivation. Stolen or intercepted tokens remain valid until their natural expiration (default 30 days). Additionally, the /admin/renew-token endpoint permits indefinite extension of near-expiration tokens, allowing attackers to maintain persistent access indefinitely.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Strapi versionCheck your installed Strapi version by inspecting package.json, running `strapi --version`, or checking the admin panel footer for the version numberAffected if Version is below 5.24.1 (e.g., 5.0.0 through 5.24.0)
-
Confirm JWT authentication is in useReview your Strapi configuration files (typically config/plugins.js or similar) to verify the users-permissions plugin is enabled and using JWT token-based authenticationAffected if JWT authentication is enabled and no server-side token blacklist mechanism exists
-
Check default token expirationInspect your token configuration in the admin panel under Settings > Users & Permissions > Advanced settings, or check the JWT configuration in your config filesAffected if Token expiration is set to the default 30 days or a long duration (7+ days) without blacklisting enabled
-
Verify /admin/renew-token endpoint accessibilityMake an authenticated request to the /admin/renew-token endpoint (e.g., using curl with a valid JWT) to confirm it is accessible and functionalAffected if The endpoint responds successfully and allows token renewal without additional verification
-
Confirm no token blacklist is implementedReview your application code and database for any server-side token blacklist or revocation mechanism; check if Redis or a database table stores invalidated tokensAffected if No blacklist or revocation mechanism exists, and tokens remain valid after logout or account deactivation
You are affected if your Strapi version is below 5.24.1 and you rely on default JWT tokens without a server-side blacklist, as stolen tokens will remain valid until expiration and the renew-token endpoint can extend access indefinitely.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Strapi to version 5.24.1 or later. Consider implementing server-side token blacklisting, reducing token expiration durations, and disabling or rate-limiting the /admin/renew-token endpoint as defense-in-depth measures.
5.24.1
- Upgrade Strapi to version 5.24.1 or later to resolve the JWT invalidation issue
- Verify the upgrade by testing that tokens are properly invalidated after logout or account deactivation
- Confirm the /admin/renew-token endpoint now properly validates token status before allowing renewal
- Review release notes for any additional security or configuration changes
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-3930 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-3930 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data