CVE-2023-6134

Keycloak: reflected xss via wildcard in oidc redirect_uri

MEDIUM
5.4
CVSS Score
Published: December 14, 2023 at 09:42 PM UTC
Updated: September 22, 2026 at 04:17 AM UTC
6 products affected across 2 vendorsOpenShift Container PlatformSingle Sign onKeycloak

Using Red Hat build of Keycloak 22 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat build of Keycloak 22 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 22.0.7
Affected range stops below 22.0.7, so it looks safe — our inference, not a vendor statement
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
v < 7.6
Vendor states this is fixed in 0:18.0.11-2.redhat_00003.1.el7sso (unaffected)
Vendor states this is fixed in 0:18.0.11-2.redhat_00003.1.el8sso (unaffected)
Vendor states this is fixed in 0:18.0.11-2.redhat_00003.1.el9sso (unaffected)
Vendor states this is fixed in 0:18.0.12-1.redhat_00001.1.el7sso (unaffected)
Vendor states this is fixed in 0:18.0.12-1.redhat_00001.1.el8sso (unaffected)
Vendor states this is fixed in 0:18.0.12-1.redhat_00001.1.el9sso (unaffected)
Vendor states this is fixed in 7.6 (unaffected)
Vendor states this is fixed in 7.6.6 (unaffected)
redhat-enterprise-linux (environment)
All versions

References (14)

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card