Cyber Resilience

CVE-2025-25298

Strapi ≤ 5.10.3

Public PoC
Published
16 October 2025
Modified
31 December 2025
Patch / advisory
CVSS Score v4 6.3
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0038 31th percentile
Risk Priority 31 floored blend · peak EPSS

Summary

CVE-2025-25298 is a medium-severity Weak Encoding for Password (CWE-261) vulnerability in Strapi Strapi. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked at the 31th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-13 (Cryptographic Protection) and IA-5 (Authenticator Management) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.006 Group Policy Preferences Credential Access
Adversaries may attempt to find unsecured credentials in Group Policy Preferences (GPP).
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1552.002 Credentials in Registry Credential Access
Adversaries may search the Registry on compromised systems for insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-22894Same product: Strapi Strapi
CVE-2023-34093Same product: Strapi Strapi
CVE-2023-36472Same product: Strapi Strapi
CVE-2023-34235Same product: Strapi Strapi
CVE-2026-27886Same product: Strapi Strapi
CVE-2023-37263Same product: Strapi Strapi
CVE-2025-53092Same product: Strapi Strapi
CVE-2025-64526Same product: Strapi Strapi
CVE-2024-34065Same product: Strapi Strapi
CVE-2026-22599Same product: Strapi Strapi

Affected Assets

strapi
strapi
≤ 5.10.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 1 OS baseline
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Cryptographic protection mandates approved algorithms and key management that preclude weak encoding schemes for sensitive data such as passwords.

Authenticator management requires secure generation, storage, and distribution of passwords rather than trivial encoding.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.DS-01 mostly match
prevents

Proper cryptographic hashing for data-at-rest directly prevents trivial password encoding while the control addresses broader data protection needs.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Requires appropriate use of cryptography, indirectly discouraging weak encoding schemes.

degrades

Requires secure handling and protection of authentication information, directly addressing weak password encoding.

prevents

Enforces secure coding practices that would reject trivial password encoding.

degrades

Mandates secure authentication mechanisms, which precludes trivial encoding of passwords.

References