CVE-2023-6134
Keycloak: reflected xss via wildcard in oidc redirect_uri
- State
- Published
- Severity
- 4.6 Medium
- Published
- Dec 14, 2023
- Updated
- Sep 22, 2026
- Reserved
- Nov 14, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.6 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | redhat |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
Red Hat build of Keycloak 22Red Hat |
|
Red Hat build of Keycloak 22Red Hat |
|
Red Hat build of Keycloak 22Red Hat |
|
Red Hat build of Keycloak 22.0.7Red Hat | |
Red Hat Single Sign-On 7Red Hat | |
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
Single Sign-On 7.6.6Red Hat |
References
- RHSA-2023:7854vendor-advisory
- RHSA-2023:7855vendor-advisory
- RHSA-2023:7856vendor-advisory
- RHSA-2023:7857vendor-advisory
- RHSA-2023:7858vendor-advisory
- RHSA-2023:7860vendor-advisory
- RHSA-2023:7861vendor-advisory
- RHSA-2024:0798vendor-advisory
- RHSA-2024:0799vendor-advisory
- RHSA-2024:0800vendor-advisory
- RHSA-2024:0801vendor-advisory
- RHSA-2024:0804vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-6134vdb-entry
- RHBZ#2249673issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.