CVE-2025-25298: Core · Strapi Password Hashing is Missing Maximum Password Length Validation
Affects @strapi/coreSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 5.10.3 when convenient.
Data as of 19 Nov 2026, 02:51 UTC
- Patch
- Available – fixed in 5.10.3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade @strapi/core to 5.10.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@strapi/core | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Strapi version 5.10.3 that addresses this issue by adding maximum password length validation and truncation before hashing. Users should upgrade to version 5.10.3 or later to remediate this vulnerability. Until patched, administrators should enforce password length restrictions and consider warning users about password truncation.
Description
Strapi's password hashing using bcryptjs does not validate maximum password length, allowing passwords longer than 72 bytes to be truncated. This can cause authentication bypass by allowing login with only the first 72 characters of a longer password. It also may degrade server performance due to handling excessively long passwords. The issue affects Strapi versions prior to 5.10.3 and has a medium severity CVSS score of 6.3. A fix is available in version 5.10.3.