Home / Red Hat / Red Hat build of Keycloak 22 / CVE-2023-6134
CVE-2023-6134: is it exploited, and which versions of Red Hat build of Keycloak 22 are affected and fixed?
CVE-2023-6134 is a cross-site scripting (XSS) vulnerability in Red Hat build of Keycloak 22. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: org.keycloak:keycloak-services before 23.0.3 (GitHub advisory GHSA-cvg2-7c3j-g36j). Fixed in 23.0.3 (GitHub advisory GHSA-cvg2-7c3j-g36j). Severity: Medium (4.6, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 26, 2026, 09:04 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2023-6134?
Keycloak: reflected xss via wildcard in oidc redirect_uri
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.
From the CVE record by redhat, last updated November 26, 2026, 08:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle | all versions (default) | 22.0.7-1 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 | all versions (default) | 22-6 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9-operator | all versions (default) | 22-9 |
| Red Hat | Red Hat build of Keycloak 22.0.7 | not stated | |
| Red Hat | Red Hat Single Sign-On 7 rh-sso7-keycloak | not stated | |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 rh-sso7-keycloak | all versions (default) | 0:18.0.11-2.redhat_00003.1.el7sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 rh-sso7-keycloak | all versions (default) | 0:18.0.12-1.redhat_00001.1.el7sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak | all versions (default) | 0:18.0.11-2.redhat_00003.1.el8sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak | all versions (default) | 0:18.0.12-1.redhat_00001.1.el8sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak | all versions (default) | 0:18.0.11-2.redhat_00003.1.el9sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak | all versions (default) | 0:18.0.12-1.redhat_00001.1.el9sso |
| Red Hat | RHEL-8 based Middleware Containers rh-sso-7/sso76-openshift-rhel8 | all versions (default) | 7.6-38 |
| Red Hat | RHEL-8 based Middleware Containers rh-sso-7/sso7-rhel8-operator-bundle | all versions (default) | 7.6.6-2 |
| Red Hat | RHEL-8 based Middleware Containers rh-sso-7/sso76-openshift-rhel8 | all versions (default) | 7.6-41 |
| Red Hat | Single Sign-On 7.6.6 rh-sso7-keycloak | not stated |
As the CVE record by redhat states it, last updated November 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 23.0.3 | 23.0.3 | GHSA-cvg2-7c3j-g36j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 18, 2023. Summary: Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | single sign-on | before 7.6 | application |
| redhat | keycloak | before 22.0.7 | application |
| redhat | openshift container platform | 4.11 | application |
| redhat | openshift container platform | 4.12 | application |
| redhat | openshift container platform for power | 4.9 | application |
| redhat | openshift container platform for power | 4.10 | application |
| redhat | openshift container platform ibm z systems | 4.9 | application |
| redhat | openshift container platform ibm z systems | 4.10 | application |
| redhat | single sign-on | all versions | application |
NVD analysis (status Modified), last modified September 22, 2026, 04:17 UTC.
How severe is CVE-2023-6134?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | redhat |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-6134 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.32% probability of exploitation activity in the next 30 days, percentile 71.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-75 Failure to Sanitize Special Elements into a Different Plane
Where are the vendor advisories and references?
- RHSA-2023:7854 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7855 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7856 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7857 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7858 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7860 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7861 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0798 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0799 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0800 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0801 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0804 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-6134 vdb-entry, x_refsource_REDHAT
- RHBZ#2249673 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank Lauritz Holtmann (https://security.lauritz-holtmann.de/) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 14, 2023
- Published
- December 14, 2023, 21:42 UTC
- CVE record updated
- November 26, 2026, 08:56 UTC by redhat
- NVD
- Modified, last modified September 22, 2026, 04:17 UTC
- Last checked
- CVE list November 26, 2026, 09:04 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat build of Keycloak 22?
- Nov 17, 2024CVE-2023-0657 Red Hat build of Keycloak 22: privilege escalation
- Sep 19, 2024CVE-2024-8883 Red Hat Build of Keycloak: open redirect
- Sep 19, 2024CVE-2024-8698 Red Hat Build of Keycloak: cryptographic signature not verified
- Sep 9, 2024CVE-2024-7341 Red Hat Build of Keycloak: session fixation
- Sep 3, 2024CVE-2024-4629 Red Hat Build of Keycloak: improper Enforcement of a Single, Unique Action
- Jun 18, 2024CVE-2024-5967 Red Hat Build of Keycloak: insecure default permissions
- Jun 3, 2024CVE-2024-4540 Red Hat Build of Keycloak: sensitive data stored in clear text
- Apr 25, 2024CVE-2023-6787 Red Hat build of Keycloak 22: authentication bypass (improper authentication)
Every CVE in Red Hat build of Keycloak 22
Questions about CVE-2023-6134
Is CVE-2023-6134 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat build of Keycloak 22 are affected by CVE-2023-6134?
org.keycloak:keycloak-services before 23.0.3, per the GitHub advisory GHSA-cvg2-7c3j-g36j. The tables above give every range the sources list.
Which version fixes CVE-2023-6134?
23.0.3, per the GitHub advisory GHSA-cvg2-7c3j-g36j. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-6134?
Medium (4.6, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-6134?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.