Security mailing lists by PureSourceCode

CVE-2025-25298

MEDIUM 6.3CVSS 4.0

Strapi Password Hashing is Missing Maximum Password Length Validation

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.

Published
16 Oct 2025
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-261
Also known as
GHSA-2cjv-6wg9-f4f3
Sources
NVDJSONOSV GHSA-2cjv-6wg9-f4f3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD strapi strapi
cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*
< 5.10.3 5.10.3
OSV npm @strapi/core < 5.10.3 5.10.3

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 16 Oct 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.