CWE
79 444
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2017-12158: XSS

First published: Wed Sep 06 2017(Updated: )

It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.keycloak:keycloak-parent<3.4.0
3.4.0
redhat/Keycloak<3.3.0.
3.3.0.
redhat/Keycloak<3.4.0.
3.4.0.
Red Hat Single Sign-On=7.0
Red Hat Single Sign-On=7.1
Red Hat Enterprise Linux Server=6.0
Red Hat Enterprise Linux Server=7.0
Red Hat Keycloak

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-2017-12158?

    CVE-2017-12158 has been classified as a high severity vulnerability due to its potential for reflected XSS attacks.

  • How do I fix CVE-2017-12158?

    To fix CVE-2017-12158, upgrade Keycloak to version 3.4.0 or later.

  • Which versions of Keycloak are affected by CVE-2017-12158?

    Versions of Keycloak prior to 3.4.0 are affected by CVE-2017-12158.

  • Can CVE-2017-12158 be exploited without authentication?

    No, CVE-2017-12158 requires the attacker to target an authenticated user.

  • What type of attack is associated with CVE-2017-12158?

    CVE-2017-12158 is associated with reflected cross-site scripting (XSS) attacks.

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