WebCritical
JWT algorithm confusion leads to cross-tenant account takeover
- Root
- An RS256 verifier that also accepts HS256 lets an attacker sign tokens with the public key.
- Impact
- Log in as any user, in any tenant.
- Fix
- Pin the algorithm; separate verification keys by type.
OWASP A07 · ASVS V3