NetSight
medium4.6

CVE-2023-6134

Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri

Impact

Keycloak prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This could permit an attacker to submit a specially crafted request leading to XSS or possibly further attacks.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services< 23.0.323.0.3

Affected products

VendorProductAffected versions
RedhatSingle Sign-On
before 7.6
All versions
RedhatKeycloak
before 22.0.7
RedhatOpenshift Container Platform
Versions 4.11, 4.12
RedhatOpenshift Container Platform For Power
Versions 4.9, 4.10
RedhatOpenshift Container Platform Ibm Z Systems
Versions 4.9, 4.10

Weakness classification

References