CVE-2025-25298: Strapi Password Hashing Missing Maximum Password Length Validation
(updated )
Strapi’s password hashing implementation using bcryptjs lacks maximum password length validation. Since bcryptjs truncates passwords exceeding 72 bytes, this creates potential vulnerabilities such as authentication bypass and performance degradation.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-25298 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →