Skip to main content
VulnerabilityPublished Updated

CVE-2025-25298: Core · Strapi Password Hashing is Missing Maximum Password Length Validation

Affects @strapi/coreSource GCVE Database

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@strapi/coreAffected
  • <5.10.3
Fixed in
  • 5.10.3

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.

References

Community reviews

Loading reviews…