JSON Web Tokens have no means of authenticating the header and thus can be abused to manipulate the server into verifying a forged signed message with a key of the attacker’s choosing.
Original writeup (https://nandynarwhals.org/hitbgsec2017-pasty/).