Strapi
CVE-2025-3930
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSteal or intercept valid JWT
-
DeliveryReplay token after victim logout
-
ExploitCall /admin/renew-token to refresh
-
ExecutionMaintain indefinite authenticated access
-
ImpactRead/modify data within token scope
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires the attacker to already possess a valid, non-expired Strapi JWT obtained out-of-band (theft, interception, or a leaked token) - the flaw provides session persistence, not initial authentication, which is why CVSS assigns AC:H. The weakness is present in default configurations (tokens are valid for a default 30 days and are never server-side invalidated on logout or account deactivation), and the exposed /admin/renew-token endpoint lets the holder renew near-expiration tokens indefinitely, removing the natural time limit that would otherwise cap the window. Limiting factors: the attacker must first compromise a token, impact is bounded by the compromised account's scope (Low C/I, no availability impact), and affected deployments are those running Strapi versions prior to 5.24.1; shortening the configured token lifetime reduces but does not eliminate the exposure. |
| Impact | This is a genuine-but-moderate-priority issue rather than a critical emergency. The authoritative signals are internally consistent: the CVSS 4.0 vector (AV:N/AC:H/PR:N/UI:N) scores 6.3 (Medium), reflecting that exploitation is network-reachable and requires no privileges or user interaction on the attacker's side, but carries High attack complexity (AC:H) because the attacker must first obtain a valid JWT - the flaw (CWE-613, insufficient session expiration) only lets an attacker *continue* using a token after logout/deactivation, it does not grant initial access. Impact is correctly scoped as Low confidentiality and Low integrity (VC:L/VI:L) with no availability impact. The EPSS score of 0.52% (43rd percentile) is low-to-moderate and aligns with the absence of both CISA KEV listing and any public exploit, indicating no evidence of active exploitation or widespread targeting. No SSVC decision data was supplied. The signals do not conflict: a Medium CVSS, modest EPSS, and no KEV/POC all point to a real session-management weakness worth patching on a normal cadence, not a drop-everything issue - its danger is primarily as a privilege-persistence amplifier once a token is already compromised, made worse by the /admin/renew-token endpoint allowing indefinite renewal. |
| Exploit ScenarioDerived | An attacker who intercepts or steals a user's Strapi JWT (e.g., via XSS, a leaked log, or a man-in-the-middle on an unencrypted channel) continues to use that token for authenticated API/admin access even after the legitimate user logs out or the account is disabled. By repeatedly calling the /admin/renew-token endpoint, the attacker refreshes the token before expiry and retains access indefinitely. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
JWT session persistence in Strapi versions prior to 5.24.1 allows a stolen or intercepted admin token to remain usable after logout or account deactivation, because tokens are never invalidated server-side and default to a 30-day lifetime. The /admin/renew-token endpoint compounds the problem by letting the holder renew near-expiration tokens indefinitely, removing the natural time cap on the exposure window. This is a genuine-but-moderate-priority issue rather than a critical emergency: exploitation requires the attacker to already possess a valid token obtained out-of-band (theft, interception, or leakage), so the flaw extends an existing session rather than granting initial access, and impact is bounded by the compromised account's permissions. No public exploit code or confirmed active exploitation was identified at time of analysis, and EPSS is low at 0.52% (43rd percentile).
RemediationAI
Upgrade to Strapi 5.24.1 or later, which is the vendor-released patch that adds server-side JWT invalidation on logout and account deactivation. Where immediate upgrading is not possible, reduce exposure by shortening the configured admin token lifetime from the 30-day default to the shortest operationally tolerable value - this narrows but does not close the post-logout reuse window, and it forces more frequent re-authentication for legitimate admins. Restrict network access to /admin and particularly /admin/renew-token at the reverse proxy or WAF so only trusted administrative networks can reach it; blocking the renewal endpoint entirely caps token life at the configured expiry, at the cost of preventing legitimate admins from extending sessions without re-login. Treat leaked or intercepted admin tokens as compromised: rotate the JWT signing secret (which invalidates all outstanding tokens but logs every administrator out) and audit admin accounts and logs for anomalous use. Refer to the vendor advisory at https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve-October-2025 and the CERT Polska post at https://cert.pl/en/posts/2025/06/CVE-2025-3930 for details.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strapi implements administrator authentication with JSON Web Tokens, which are stateless bearer credentials: the server validates the token's signature and embedded expiry rather than consulting a session store. This is the classic CWE-613 (Insufficient Session Expiration) pattern - logout clears the token from the client, and account deactivation blocks new logins, but already-issued JWTs continue to validate until their exp claim passes. With Strapi's default 30-day lifetime, that leaves a long reuse window after a token is stolen or intercepted, and the /admin/renew-token endpoint lets any holder swap a near-expiration token for a fresh one, effectively extending the credential's life indefinitely as long as the attacker keeps renewing before expiry. No availability impact exists and confidentiality/integrity impact is limited to what the compromised administrator account can read or change. The fix in 5.24.1 introduces server-side invalidation so tokens are rejected after logout or deactivation. Per the CVSS:3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N), attack complexity is rated high precisely because the attacker must first obtain a valid token out of band; the network vector reflects that the renewal endpoint is remotely reachable.
Know when Strapi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AC:H because the attacker must first obtain a valid JWT out-of-band; PR:N/UI:N as reuse itself needs no privileges or interaction; C:L/I:L/A:N matching limited scoped data access.
Primary rating from Vendor (cert).
CVSS VectorVendor: cert
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting
Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability
An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary
strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s
An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS
Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity
Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.
Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo
In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password
strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au
Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot
Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro
NVD
CVE.org
EPSS
GitHub
Exploit-DB