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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| strapi | strapi | < 5.7.0 |
References
- https://github.com/strapi/strapiProduct
- https://github.com/strapi/strapi/issues/26587Issue Tracking
- https://github.com/strapi/strapi/pull/26752Issue Tracking, Patch
- https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configurationPatch, Third Party Advisory
Timeline
- Published
- Jun 29, 2026
- Last modified
- Oct 25, 2026
- NVD status
- Analyzed