CVE-2023-6134Keycloak: reflected xss via wildcard in oidc redirect_uri
- 4.6MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 29% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By redhat
- 30 days later
· 30 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.3% · top 29% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Affected products
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.7-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-6 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-9 – < *
Red Hat · Red Hat build of Keycloak 22.0.7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.11-2.redhat_00003.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.12-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.11-2.redhat_00003.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.12-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.11-2.redhat_00003.1.el9sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.12-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-38 – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6.6-2 – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-41 – < *
Red Hat · Single Sign-On 7.6.6
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-cvg2-7c3j-g36j (opens in a new tab)
References
References14
- RHSA-2023:7854 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7855 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7856 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7857 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7858 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7860 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7861 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0798 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0799 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0800 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0801 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0804 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6134 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2249673 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-3189 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cvg2-7c3j-g36j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-6134)Record last updated .