Skip to main content

Strapi CVE-2025-3930

MEDIUM
Insufficient Session Expiration (CWE-613)
2025-10-16 cvd@cert.pl
6.3
CVSS 4.0 · Vendor: cert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Steal or intercept valid JWT
  2. Delivery
    Replay token after victim logout
  3. Exploit
    Call /admin/renew-token to refresh
  4. Execution
    Maintain indefinite authenticated access
  5. Impact
    Read/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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

npm @strapi/strapi fix: 5.24.1

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

Vendor (cert) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (cert).

CVSS VectorVendor: cert

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
popular open-source headless CMS, common but not ubiquitous in production
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Strapi

View all
CVE-2023-22894 MEDIUM POC
4.9 Apr 19

Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting

CVE-2023-38507 CRITICAL POC
9.8 Sep 15

Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2022-27263 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary

CVE-2019-18818 CRITICAL POC
9.8 Nov 07

strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s

CVE-2022-32114 HIGH POC
8.8 Jul 13

An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS

CVE-2022-31367 HIGH POC
8.8 Sep 27

Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity

CVE-2024-37818 HIGH POC
8.6 Jun 20

Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.

CVE-2024-34065 HIGH POC
8.1 Jun 12

Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo

CVE-2021-28128 HIGH POC
8.1 May 06

In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password

CVE-2023-39345 HIGH POC
7.5 Nov 06

strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au

CVE-2023-34235 HIGH POC
7.5 Jul 25

Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot

CVE-2023-22893 HIGH POC
7.5 Apr 19

Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy