Description
A flaw was found in Keycloak before version 12.0.0, where it is possible to add unsafe schemes for the redirect_uri parameter. This flaw allows an attacker to perform a Cross-site scripting attack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | keycloak | before version 12.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 9.0.9-1.redhat_00001.1.el6sso | RHSA-2020:4932, RHSA-2020:4930, RHSA-2020:4929 |
| Red Hat Single Sign On 7 | rh-sso7-libunix-dbus-java +1 | 0.8.0-2.el8sso | RHSA-2020:4932 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-server-spi-private | < 12.0.0 | 12.0.0 | GHSA-484q-784p-8m5h |
| Maven | org.keycloak:keycloak-services | < 12.0.0 | 12.0.0 | GHSA-484q-784p-8m5h |
Advisories 3
- RHSA-2020:4930 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.3 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2020:4932 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.3 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2020:4929 Red Hat Security Advisory: Red Hat Single Sign-On 7.4.3 security update on RHEL 6 Red Hat Security Advisories (RHSA) · Jun 29, 2026