CVE-2023-6134: Red Hat Keycloak
Medium severity, CVSS 5.4. EPSS: 1.5% probability of exploitation activity in the next 30 days.
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.
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 22.0.7: fixed in 22.0.7
- Red Hat Single Sign-On, before 7.6: fixed in 7.6
Affected products
- Red Hat Keycloak: before 22.0.7 (fixed in 22.0.7)
- Red Hat Openshift Container Platform: version 4.11 only; version 4.12 only
- Red Hat Openshift Container Platform For Power: version 4.9 only; version 4.10 only
- Red Hat Openshift Container Platform IBM Z Systems: version 4.9 only; version 4.10 only
- Red Hat Single Sign-On: before 7.6 (fixed in 7.6); affected versions not specified
Affected packages
- org.keycloak:keycloak-services (Maven)
Published 2023-12-14. Last modified 2026-09-22.