CVE-2026-57997
Severity CVSS v4.0:
MEDIUM
Type:
CWE-327
Use of a Broken or Risky Cryptographic Algorithm
Publication date:
29/06/2026
Last modified:
01/07/2026
Description
Strapi users-permissions plugin fails to restrict JWT algorithms when plugin::users-permissions.jwt.algorithm is not explicitly configured, allowing acceptance of HS384 and HS512 tokens alongside HS256. Attackers possessing the jwtSecret can mint tokens with non-standard HMAC variants to bypass algorithm restrictions and weaken authentication controls.
Impact
Base Score 4.0
6.30
Severity 4.0
MEDIUM
Base Score 3.x
4.80
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* | 5.7.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



