Back to overview

CVE-2026-57997

MEDIUM
4.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-57997
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-06-26 17:58 UTC
Published
2026-06-29 21:16 UTC
Last updated
2026-06-29 21:16 UTC
Primary CWE
CWE-327
CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Vendor / Product
strapi / strapi
Sources
cve.org  ·  NVD

Severity & Metrics

4.8 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products (1)
VendorProductPlatformVersions
strapi strapi 0 < 5.7.0
Weakness (CWE)
CWESourceDescription
CWE-327 cna CWE-327 Use of a Broken or Risky Cryptographic Algorithm
CVSS scores (2)
ScoreSeverityVersionSourceVector
6.3 MEDIUM 4.0 cna CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
4.8 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Back to overview