CVE-2025-3930: @strapi/strapi Strapi Is Vulnerable To Insufficient Vulnerability
MODERATECVE-2025-3930 is a MODERATE strapi is vulnerable to insufficient vulnerability (CWE-613: Insufficient Session Expiration) affecting @strapi/strapi libraries in the npm ecosystem. The issue involves strapi is vulnerable to insufficient session expiration. Remediation is available by upgrading affected packages to version 5.24.1.
CVE-2025-3930 at a Glance
How to Fix CVE-2025-3930
To remediate this vulnerability, upgrade all affected @strapi/strapi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @strapi/strapi@5.24.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @strapi/strapi
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-3930, inspect your project dependencies using npm:
npm ls @strapi/strapi
Analyze the terminal output to locate any version of @strapi/strapi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.24.1), your application is affected.
Note: The npm ls @strapi/strapi command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In @strapi/strapi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3930 Affected @strapi/strapi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@strapi/strapi
|
npm |
< 5.24.1
|
5.24.1
|
References
Frequently Asked Questions
What is CVE-2025-3930?
Which @strapi/strapi versions are affected?
What version fixes CVE-2025-3930?
Is @strapi/strapi affected?
What CWE is associated with CVE-2025-3930?
How can I check npm dependencies for CVE-2025-3930?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4r8w-3jww-m2rp",
"modified" : "2025-10-22T19:36:22Z",
"published" : "2025-10-16T12:30:23Z",
"aliases" : [ "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" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@strapi/strapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.24.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3930"
}, {
"type" : "WEB",
"url" : "https://cert.pl/en/posts/2025/06/CVE-2025-3930"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/strapi/strapi"
}, {
"type" : "WEB",
"url" : "https://strapi.io"
}, {
"type" : "WEB",
"url" : "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve-October-2025"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-16T21:21:44Z",
"nvd_published_at" : "2025-10-16T11:15:29Z"
}
}