CVE-2025-25298
CVE-2025-25298 is a medium-severity vulnerability in Strapi with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-261.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v4: 6.3
- EPSS exploit prediction: 0% (30th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-34776
- Weakness: CWE-261
- Affected product: Strapi
- Published:
- Last modified:
Description
Strapi is an open source headless CMS. The @strapi/core package before version 5.10.3 does not enforce a maximum password length when using bcryptjs for password hashing. Bcryptjs ignores any bytes beyond 72, so passwords longer than 72 bytes are silently truncated. A user can create an account with a password exceeding 72 bytes and later authenticate with only the first 72 bytes. This reduces the effective entropy of overlong passwords and may mislead users who believe characters beyond 72 bytes are required, creating a low likelihood of unintended authentication if an attacker can obtain or guess the truncated portion. Long over‑length inputs can also impose unnecessary processing overhead. The issue is fixed in version 5.10.3. No known workarounds exist.
Frequently asked questions
- What is CVE-2025-25298?
- Strapi is an open source headless CMS. The @strapi/core package before version 5.10.3 does not enforce a maximum password length when using bcryptjs for password hashing. Bcryptjs ignores any bytes beyond 72, so passwords longer than 72 bytes are silently truncated. A user can create an account with a password exceeding 72 bytes and later authenticate with only the first 72 bytes. This reduces the effective entropy of overlong passwords and may mislead users who believe characters beyond 72 bytes are required, creating a low likelihood of unintended authentication if an attacker can obtain or guess the truncated portion. Long over‑length inputs can also impose unnecessary processing overhead. The issue is fixed in version 5.10.3. No known workarounds exist.
- How severe is CVE-2025-25298?
- CVE-2025-25298 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2025-25298 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (30th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-25298?
- CVE-2025-25298 affects Strapi. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-25298?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-25298 have an EU (EUVD) identifier?
- Yes. CVE-2025-25298 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-34776.
- When was CVE-2025-25298 published?
- CVE-2025-25298 was published on 2025-10-16 and last updated on 2026-06-17.
References
- https://github.com/strapi/strapi/commit/41f8cdf116f7f464dae7d591e52d88f7bfa4b7cb
- https://github.com/strapi/strapi/security/advisories/GHSA-2cjv-6wg9-f4f3
Affected products (1)
- cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*
More vulnerabilities in Strapi
- CVE-2022-27263 — Critical (CVSS 9.8): An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary…
- CVE-2020-27664 — Critical (CVSS 9.8): admin/src/containers/InputModalStepperProvider/index.js in Strapi before 3.2.5 has unwanted /proxy?url= functionality.
- CVE-2019-18818 — Critical (CVSS 9.8): strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and…
- CVE-2022-31367 — High (CVSS 8.8): Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.
- CVE-2022-32114 — High (CVSS 8.8): An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct…
- CVE-2022-30617 — High (CVSS 8.8): An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and…
Other CWE-261 vulnerabilities
- CVE-2025-31229 — Critical (CVSS 9.1): A logic issue was addressed with improved checks. This issue is fixed in iOS 18.6 and iPadOS 18.6. Passcode may be read…
- CVE-2024-24279 — High (CVSS 8.8): An issue in secdiskapp 1.5.1 (management program for NewQ Fingerprint Encryption Super Speed Flash Disk) allows…
- CVE-2024-7407 — High (CVSS 8.2): Use of a custom password encoding algorithm in Streamsoft Prestiż software allows straightforward decoding of…
- CVE-2024-28270 — High (CVSS 8.1): An issue discovered in web-flash v3.0 allows attackers to reset passwords for arbitrary users via crafted POST request…
- CVE-2025-2862 — High (CVSS 7.5): SaTECH BCU, in its firmware version 2.1.3, performs weak password encryption. This allows an attacker with access to…
- CVE-2024-0556 — High (CVSS 7.1): A Weak Cryptography for Passwords vulnerability has been detected on WIC200 affecting version 1.1. This vulnerability…