PT-2025-42486 · Strapi+1 · @Strapi/Core+2
Published
2025-10-16
·
Updated
2025-11-25
·
CVE-2025-25298
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Strapi versions prior to 5.10.3
Description
Strapi, an open source headless CMS, has an issue where the
@strapi/core package does not enforce a maximum password length when using bcryptjs for password hashing. Bcryptjs truncates passwords exceeding 72 bytes, silently reducing the effective entropy of overlong passwords. This can mislead users and potentially allow authentication with only a portion of the password. Long inputs can also cause performance issues.Recommendations
Update to Strapi version 5.10.3 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Strapi/Core
Strapi
Bcryptjs