JKU (JWK Set URL) Header Injection

The jku header parameter specifies a URL pointing to a JSON Web Key Set (JWKS) containing the public keys used to verify the token signature. If the server fetches keys from arbitrary URLs without enforcing a strict domain allowlist, an attacker can host their own jwks.json file and forge administrative tokens.

Sample Token (Guest)

This token references the server's public key set at https://authlab.digi.ninja/.well-known/jwks.json:


Submit Token




Back to home


Lab created by Robin Wood - DigiNinja