Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-57997

Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

strapi strapi

Default version status: unaffected

  • 0 to < 5.7.0affected
pkg:npm/strapi

References