Skip to content

In-depth lesson · JWT flaws

Year by year

What the disclosed JWT flaws reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 31 of 31

2026

7 points

New this year2

  1. Algorithm confusion by signing with HS256 using the RSA public key as the HMAC secret appears as a clear pattern in the disclosed reports.

    Seen in 1 report
  2. Forging a join JWT signed with the default empty join key appears as a new angle in the disclosed reports.

    Seen in 1 report

Kept working4

  1. Sending an HS256 token signed with the service's RSA public key used as an HMAC secret was accepted because algorithm pinning was missing in the disclosed reports.

    Seen in 1 report
  2. Comparing login response times for registered and unregistered emails, confirming accounts via the forgot-password endpoint, cracking the HS256 signing key offline and forging tokens for sequential user IDs worked in the disclosed reports.

    Seen in 1 report
  3. Testing ID4me handling in user OIDC exposed missing JWT signature verification in the disclosed reports.

    Seen in 1 report
  4. Forging a join JWT signed with the default empty join key allowed registering as a trusted service and requesting an admin token in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. The earlier pattern of swapping identifiers inside a JWT to access another account's data is not repeated in the 2026 evidence.

    Seen in 1 report

2023

5 points

New this year1

  1. Testing the SharePoint pre-authentication chain involving JWT handling for remote code execution appears as a new angle in the disclosed reports.

    Seen in 1 report

Kept working2

  1. Swapping identifiers inside a JWT to access another account's data worked in the disclosed reports.

    Seen in 1 report
  2. The SharePoint pre-authentication chain involving JWT handling led to remote code execution in the disclosed reports.

    Seen in 1 report

Turned up less2

  1. The earlier pattern of setting the expiration claim to a past timestamp and having the token accepted is not repeated in the 2023 evidence.

    Seen in 1 report
  2. The earlier pattern of a twin or duplicate token being accepted is not repeated in the 2023 evidence.

    Seen in 1 report

2022

5 points

New this year1

  1. Reviewing ASP.NET Boilerplate deployments for hardcoded credentials and JWT weaknesses appears as a new target class in the disclosed reports.

    Seen in 1 report

Kept working3

  1. Reviewing appliance code for a hardcoded JWT secret allowed privilege escalation in the disclosed reports.

    Seen in 1 report
  2. Setting the expiration claim to a past Unix timestamp still worked because signature and expiry were mishandled in the disclosed reports.

    Seen in 1 report
  3. A twin or duplicate token was accepted in a peculiar JWT exploitation scenario in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. The earlier pattern of searching archived URL sources for leaked JWTs is not repeated in the 2022 evidence.

    Seen in 1 report

2021

5 points

New this year2

  1. Searching archived URL sources for leaked authentication JWTs that still work first appears as a technique in the disclosed reports.

    Seen in 1 report
  2. Testing public-key JWT verification for acceptance of a token signed with a different key appears as a new angle in the disclosed reports.

    Seen in 1 report

Kept working3

  1. Swapping identifiers inside a JWT to access another account's data worked in the disclosed reports.

    Seen in 1 report
  2. Archived URL sources held leaked authentication JWTs that still allowed changing user metadata in the disclosed reports.

    Seen in 1 report
  3. JWT authentication using public keys accepted a token signed with a different key in the disclosed reports.

    Seen in 1 report

2020

6 points

New this year1

  1. Chaining several weaknesses, such as blind XSS, a CSP bypass, missing rate limiting and an exposed JWT generation endpoint, to reach account takeover first appears clearly in the disclosed reports.

    Seen in 1 report

Kept working4

  1. Changing the user identifier claim inside a JWT and checking whether the backend honoured it exposed IDOR through the token in the disclosed reports.

    Seen in 1 report
  2. An exposed endpoint that minted JWTs could be called to obtain a token for another user in the disclosed reports.

    Seen in 1 report
  3. Stripping or altering the JWT signature and finding the backend still accepted the token worked in the disclosed reports.

    Seen in 1 report
  4. Password reset and email verification flows accepted a JWT whose claims had been altered to target another account in the disclosed reports.

    Seen in 1 report

Turned up less1

  1. The earlier pattern of client-side single sign-on token generation with a hardcoded secret is not repeated in the 2020 evidence, which instead centres on claim swapping and exposed minting endpoints.

    Seen in 1 report

2019

3 points

Kept working3

  1. Hunters found that client-side JavaScript sometimes held a hardcoded JWT signing secret used to mint single sign-on tokens, and that a token with an altered email claim was accepted by the support portal in the disclosed reports.

    Seen in 1 report
  2. Reusing a JWT long after its stated expiration was accepted by the server in the disclosed reports.

    Seen in 1 report
  3. Zendesk single sign-on tokens generated on the client side were a productive place to look for JWT flaws in the disclosed reports.

    Seen in 1 report