WaratekVRT Sign in

CVE-2017-12158 Keycloak

Affected softwareKeycloak
Severity5.4 Medium CVSS 3.0 2 scores
Fixed in3.4.0
WeaknessCross-site scripting (CWE-79)
Published26 Oct 2017
Updated17 Jun 2026

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.

CWE-444

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.0% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=1489161 : a Red Hat bug: the triage, which links onward to the fix

CVSS

5.4 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 5.4 MEDIUM CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N NVD Primary published
CVSS 2.0 3.5 none AV:N/AC:M/Au:S/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-parent 0 3.4.0 unbounded

Products and versions

3 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd keycloak keycloak generic any version
osv org.keycloak keycloak-parent generic < 3.4.0
nvd redhat single sign on generic 7.0 · 7.1

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1489161 bugzilla
https://access.redhat.com/errata/RHSA-2017:2904 WEB
https://access.redhat.com/errata/RHSA-2017:2905 WEB
https://access.redhat.com/errata/RHSA-2017:2906 WEB
https://web.archive.org/web/20210124114020/http://www.securityfocus.com/bid/101618 WEB
http://www.securityfocus.com/bid/101618 Third Party Advisory, VDB Entry

Timeline

Published2017-10-26By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.