MEDIUM · CVSS 5.3 Published: 2025-10-16

CVE-2025-25298 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-25298
Base Severity / ScoreMEDIUM (5.3 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness ClassificationCWE-261
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-2530 HIGH 7.8
CVE-2025-25294 MEDIUM 5.3
CVE-2025-25296 MEDIUM 6.1
CVE-2025-25302 MEDIUM 6.5
CVE-2025-2533 MEDIUM 5.3
CVE-2025-2534 MEDIUM 5.3
CVE-2025-2536 MEDIUM 6.1