HOMEVULNERABILITIESCVE-2017-12158
MEDIUM

CVE-2017-12158

CWE-444Published: October 26, 2017· Updated: Jun 17, 2026

5.4
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2017-12158 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionRequired
ScopeChanged
Impact
ConfidentialityLow
IntegrityLow
AvailabilityNone
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected Vendors & Products

keycloak1 product(s)
keycloak
Red Hat2 product(s)
single sign onenterprise linux server
Source: NVD CPE · 5 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (10)

Quick Facts

CVE IDCVE-2017-12158
CVSS Score5.4 / 10
SeverityMEDIUM
WeaknessCWE-444
CISA KEVNo
Affected2 vendor(s)
PublishedOct 26, 2017

Related CVEs (CWE-444)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2017-12158 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.