{"id":"CVE-2017-12158","published":"2017-10-26T17:00:00Z","modified":"2024-09-16T23:36:41Z","title":"It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource…","vendor":"Red Hat","product":"keycloak","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01021,"percentile":0.64244,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:2904","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2905","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2906","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489161","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/101618","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":12.85}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat, Inc.","product":"keycloak","versions":["3.4.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","vulnerableRanges":["<3.4.0"],"patched":["3.4.0"],"from":["GHSA-v38p-mqq3-m6v5"],"provenance":"source"}],"summary":{"text":"A flaw in Red Hat's Keycloak admin console causes it to accept a HOST header URL and use it to determine web resource locations. An attacker who can get an already-authenticated user to visit a malicious server can achieve reflected cross-site scripting.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:05Z"},"euvd":{"id":"EUVD-2022-5267","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12160","published":"2017-10-26","fixed":"3.3.0.Final","kev":false,"link":{"from":"CVE-2017-12160","to":"CVE-2017-12158","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-parent","fromFixed":"3.3.0.Final","toFixed":"3.4.0","daysApart":0}]}},{"cve":"CVE-2017-12158","published":"2017-10-26","fixed":"3.4.0","kev":false},{"cve":"CVE-2017-12159","published":"2017-10-26","fixed":"3.4.0","kev":false},{"cve":"CVE-2018-14657","published":"2018-11-13","fixed":"4.6.0.Final","kev":false},{"cve":"CVE-2020-1718","published":"2020-05-12","fixed":"8.0.0","kev":false}],"package":"Maven:org.keycloak:keycloak-parent"}}