CWE
75 79 74
EPSS
0.100%
Advisory Published
CVE Published
Advisory Published
Updated

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

First published: Tue Nov 14 2023(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.keycloak:keycloak-services<23.0.3
23.0.3
Red Hat Single Sign-On<7.6.6
Red Hat Keycloak<22.0.7
All of
Red Hat Single Sign-On<7.6
Any of
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
All of
Any of
Red Hat OpenShift Container Platform=4.11
Red Hat OpenShift Container Platform=4.12
Red Hat Enterprise Linux=8.0
All of
Any of
Red Hat OpenShift Container Platform for Power=4.9
Red Hat OpenShift Container Platform for Power=4.10
Red Hat Enterprise Linux=8.0
All of
Any of
Red Hat OpenShift Container Platform=4.9
Red Hat OpenShift Container Platform=4.10
Red Hat Enterprise Linux=8.0
Red Hat Single Sign-On

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-6134?

    CVE-2023-6134 has been classified as a high-severity vulnerability due to its potential for cross-site scripting (XSS) attacks.

  • How do I fix CVE-2023-6134?

    To fix CVE-2023-6134, upgrade Keycloak to version 23.0.3 or later, or update Red Hat Single Sign-On and Red Hat Keycloak to their respective patched versions.

  • Which software versions are affected by CVE-2023-6134?

    CVE-2023-6134 affects Keycloak versions prior to 23.0.3, Red Hat Single Sign-On versions prior to 7.6.6, and Red Hat Keycloak versions prior to 22.0.7.

  • Can CVE-2023-6134 lead to other vulnerabilities?

    Yes, CVE-2023-6134 can allow an attacker to exploit it for further attacks, including cross-site scripting (XSS).

  • What is the underlying issue of CVE-2023-6134?

    The underlying issue of CVE-2023-6134 is a flaw in Keycloak that fails to properly validate redirect URIs with certain schemes when a wildcard is appended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203