CVE-2025-25298 in Strapi
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 excee...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Strapi | Strapi | < 5.10.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-25298 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-034754-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2025-10-16 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-261: CWE-261
Related attack patterns (CAPEC)
CAPEC-55 Rainbow Table Password Cracking via CWE-261
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-25298 affects the @strapi/core package in Strapi CMS versions before 5.10.3, where passwords longer than 72 bytes are silently truncated, potentially reducing security.
An attacker can create an account with a password exceeding 72 bytes and authenticate using only the first 72 bytes of the password, bypassing the intended password strength.
Questions
What is CVE-2025-25298?
CVE-2025-25298 affects the @strapi/core package in Strapi CMS versions before 5.10.3, where passwords longer than 72 bytes are silently truncated, potentially reducing security.
What is the CVSS score for CVE-2025-25298?
CVE-2025-25298 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.5%.
Is CVE-2025-25298 actively exploited?
No confirmed active exploitation of CVE-2025-25298 as of 2026-10-25.
How do I remediate CVE-2025-25298?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2025-25298?
CVE-2025-25298 affects Strapi Strapi.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Strapi","product":"Strapi","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.