Read the docs
TI-2025-18952 Aliases CVE-2025-25298GHSA-2cjv-6wg9-f4f3

Missing Maximum Password Length Validation in Strapi Password Hashing

Priority MEDIUM 61CWE-261Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.004 34th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed strapi (strapi): 5.10.3@strapi/core (npm): 5.10.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Strapistrapibefore 5.10.35.10.3Patch availableCNA
—@strapi/core (npm)before 5.10.35.10.3Patch availableGHSA-2cjv-6wg9-f4f3
  • strapi VendorStrapi Affected before 5.10.3 Fixed in 5.10.3 Patch available CNA
  • @strapi/core (npm) Vendor— Affected before 5.10.3 Fixed in 5.10.3 Patch available GHSA-2cjv-6wg9-f4f3

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*before 5.10.3VulnerableStrapi
  • cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* Versions before 5.10.3 Vulnerable ·Strapi

Remediation

  • Fix · CNA strapi (strapi) Fixed in 5.10.3
  • Fix · GHSA-2cjv-6wg9-f4f3 @strapi/core (npm) Fixed in 5.10.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-25298
  2. 2026-10-03 Alias added: GHSA-2cjv-6wg9-f4f3

References

  • TI-2023-09037 Query filter flaw in Strapi exposes sensitive user details KEVCVSS 3.1HIGH 7.2
  • TI-2019-13554 strapi before 3.0.0-beta.17.5 mishandles password resets within… CVSS 3.1CRITICAL 9.8
  • TI-2023-19887 Strapi Improper Rate Limiting vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2023-08803 Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can… CVSS 3.1CRITICAL 10.0
  • TI-2024-25161 Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the… CVSS 3.1HIGH 8.6
  • TI-2023-17071 Leaking sensitive user information still possible by filtering on private with prefix fields CVSS 3.1HIGH 8.6
See all 38 →

Sources