CVE-2022-4361: Red Hat Keycloak

Medium severity, CVSS 6.1. EPSS: 0.8% probability of exploitation activity in the next 30 days.

Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers. The vulnerability can allow an attacker to execute malicious scripts by setting the AssertionConsumerServiceURL value or the redirect_uri.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Red Hat Keycloak, before 21.1.2: fixed in 21.1.2
  • Red Hat Single Sign-On, from 7.6, before 7.6.4: fixed in 7.6.4

Affected products

Affected packages

Published 2023-07-07. Last modified 2026-06-17.