CVE-2022-4137: Red Hat Keycloak

Medium severity, CVSS 6.1. EPSS: 1.2% chance of exploitation in the next 30 days.

A reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page. This flaw requires a user or administrator to interact with a link in order to be vulnerable. This may compromise user details, allowing it to be changed or collected by an attacker.

Affected products

  • Red Hat Keycloak: affected versions not specified
  • Red Hat Single Sign-On: version 7.6 only

Published 2023-09-25. Last modified 2026-06-17.