{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-12158","id":"CVE-2017-12158","title":"It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource l…","description":"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.","descriptionLong":"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.","published":"2017-10-26T17:00:00.000Z","updated":"2026-06-17T01:02:47.650Z","reserved":"2017-08-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Red Hat, Inc. keycloak"],"affectedProducts":[{"vendor":"Red Hat, Inc.","product":"keycloak","defaultStatus":null,"versions":[{"status":"affected","version":"3.4.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-444","CWE-79"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:2904","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2905","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2906","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489161","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking"]},{"url":"http://www.securityfocus.com/bid/101618","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01021,"epssPercentile":0.64085,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-12158","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12158","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-12158","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-12158","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}