Improper Encoding or Escaping of Output in jwx - #VU169839
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote user to inject unintended JWT claims, protected JWS or JWE headers, or JWK parameters, potentially bypassing application authorization controls.
The vulnerability exists due to improper JSON escaping in the generated jwx serializers when writing custom member names. A remote user can supply a custom member name to an application that accepts user-controlled names, causing it to sign, encrypt, or publish an object with extra fields, such as a reserved role claim in a signed ZeroID access token.