CVE-2023-6134 | Keycloak: reflected xss via wildcard in oidc redirect_uri

Exp

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.

Published: 2023-12-14 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-6134 is rated Exploit Available (51.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.91%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2023-6134

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2023-6134

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.47% 0.91% -1.56%
2 2026-03-08 1.90% 2.47% +0.57%
3 2026-01-01 1.90%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-6134

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.6 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 2.5 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 2.7 [email protected]

Weakness enumeration for CVE-2023-6134

GitHub Security Advisory for CVE-2023-6134

GHSA-cvg2-7c3j-g36j · Severity: medium · Ecosystem: maven — Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri

OS Trackers for CVE-2023-6134

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2023-6134

Affected software / configurations for CVE-2023-6134

Vendor Product Version Raw CPE
redhat single_sign-on < 7.6 cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*
redhat keycloak < 22.0.7 cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
redhat openshift_container_platform 4.11 cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*
redhat openshift_container_platform 4.12 cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*
redhat openshift_container_platform_for_power 4.9 cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*
redhat openshift_container_platform_for_power 4.10 cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*
redhat openshift_container_platform_ibm_z_systems 4.9 cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.9:*:*:*:*:*:*:*
redhat openshift_container_platform_ibm_z_systems 4.10 cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.10:*:*:*:*:*:*:*
redhat single_sign-on cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*

References for CVE-2023-6134

URL Tags
https://access.redhat.com/errata/RHSA-2023:7854 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7855 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7856 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7857 Exploit Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7858 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7860 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:7861 Vendor Advisory
https://access.redhat.com/errata/RHSA-2024:0798
https://access.redhat.com/errata/RHSA-2024:0799
https://access.redhat.com/errata/RHSA-2024:0800
https://access.redhat.com/errata/RHSA-2024:0801
https://access.redhat.com/errata/RHSA-2024:0804
https://access.redhat.com/security/cve/CVE-2023-6134 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2249673 Issue Tracking
cvelogic Threat Intelligence