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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* 5.7.0 (excluding)