Read the docs
TI-2017-08949 Aliases CVE-2017-12158GHSA-v38p-mqq3-m6v5

Cross-site scripting in Red Hat keycloak

Priority LOW 26CWE-444Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 3 fixed, 1 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01021 63rd percentileScored 2026-11-07
Fix Partial org.keycloak:keycloak-parent (Maven): 3.4.0Red Hat: 3 advisoriesRed Hat: 3 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red Hatkeycloak3.4.0—No fix listedCNA
—org.keycloak:keycloak-parent (Maven)before 3.4.03.4.0Patch availableGHSA-v38p-mqq3-m6v5
  • keycloak VendorRed Hat Affected 3.4.0 Fixed in — No fix listed CNA
  • org.keycloak:keycloak-parent (Maven) Vendor— Affected before 3.4.0 Fixed in 3.4.0 Patch available GHSA-v38p-mqq3-m6v5

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:redhat:single_sign_on:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:*7.1VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*6.0Running onRed Hat
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*7.0Running onRed Hat
cpe:2.3:a:keycloak:keycloak:-:*:*:*:*:*:*:*not specified by NVDVulnerableKeycloak
  • cpe:2.3:a:redhat:single_sign_on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
  • cpe:2.3:a:keycloak:keycloak:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Keycloak

Remediation

  • Fix · GHSA-v38p-mqq3-m6v5 org.keycloak:keycloak-parent (Maven) Fixed in 3.4.0 Advisory →

Red Hat 3 advisories

  • RHSA-2017:2905 Released 2017-10-17 · Red Hat rating Moderate
    rh-sso7-keycloak security update
    • Red Hat Single Sign-On 7.1 for RHEL 7 Server rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el7, rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el7
  • RHSA-2017:2904 Released 2017-10-17 · Red Hat rating Moderate
    rh-sso7-keycloak security update
    • Red Hat Single Sign-On 7.1 for RHEL 6 Server rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6, rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el6
  • RHSA-2017:2906 Released 2017-10-17 · Red Hat rating Moderate
    Red Hat Single Sign-On security update
    • Red Hat Single Sign-On 7.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat keycloak — RHSA-2017:2904

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
    • TI-2017-08951 Improper authorization in Red Hat keycloakPriority LOW 35
  • Advisory ·

    Red Hat keycloak — RHSA-2017:2905

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
    • TI-2017-08951 Improper authorization in Red Hat keycloakPriority LOW 35
Show 1 more group
  • Advisory ·

    Red Hat keycloak — RHSA-2017:2906

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
    • TI-2017-08951 Improper authorization in Red Hat keycloakPriority LOW 35

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Mobile Application Platform 4AffectedNo fix planned: Will not fix
Red Hat Single Sign-On 7.1Fixed RHSA-2017:2906
Red Hat Single Sign-On 7.1 for RHEL 6 ServerFixed RHSA-2017:2904
Red Hat Single Sign-On 7.1 for RHEL 7 ServerFixed RHSA-2017:2905

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-12158
  2. 2026-10-03 Alias added: GHSA-v38p-mqq3-m6v5

References

  • TI-2017-08950 Insufficient session expiration in Red Hat keycloak CVSS 3.0HIGH 7.5
  • TI-2016-07091 Improper access control in Red Hat Keycloak CVSS 3.0MEDIUM 6.5
  • TI-2017-01840 Information disclosure in Red Hat keycloak CVSS 3.0MEDIUM 5.9

Sources