CVE-2017-12158
MEDIUM 5.4CVSS 3.0Keycloak Reflected XSS
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
- 26 Oct 2017
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-444CWE-79
- Also known as
- GHSA-v38p-mqq3-m6v5
- Sources
- NVDJSONOSV GHSA-v38p-mqq3-m6v5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | single_sign_oncpe:2.3:a:redhat:single_sign_on:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | single_sign_oncpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:* |
= 7.1 | |
| NVD | keycloak | keycloakcpe:2.3:a:keycloak:keycloak:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.keycloak:keycloak-parent | < 3.4.0 | 3.4.0 |
References
- http://www.securityfocus.com/bid/101618 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2904 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:2905 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:2906 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1489161 · Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-12158 · ADVISORY
- https://web.archive.org/web/20210124114020/http://www.securityfocus.com/bid/101618 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 26 Oct 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)