All vulnerabilities

Servers and applications

CVE-2025-25298

Weak Password Length Validation

Severity
Medium 6.3
Published
16 Oct 2025
Last changed
19 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
5.10.3
Also known as
GHSA-2cjv-6wg9-f4f3
Sources
NVD, Project advisories (GitHub)

Description

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…

Affected software

SoftwareAffected versions
StrapiServers and applications · cpe:a:strapi:strapi
  • Every version before 5.10.3
StrapiServers and applications · github:strapi/strapi
  • Every version before 5.10.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-25298
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-25298
  • GitHub Advisory Database https://github.com/advisories/GHSA-2cjv-6wg9-f4f3
  • github.com https://github.com/strapi/strapi/security/advisories/GHSA-2cjv-6wg9-f4f3