Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-parent
  4. ›
  5. CVE-2017-12158

CVE-2017-12158: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 13, 2022 (updated July 26, 2023)

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.

References

  • access.redhat.com/errata/RHSA-2017:2904
  • access.redhat.com/errata/RHSA-2017:2905
  • access.redhat.com/errata/RHSA-2017:2906
  • bugzilla.redhat.com/show_bug.cgi?id=1489161
  • github.com/advisories/GHSA-v38p-mqq3-m6v5
  • nvd.nist.gov/vuln/detail/CVE-2017-12158
  • web.archive.org/web/20210124114020/http://www.securityfocus.com/bid/101618

Code Behaviors & Features

Detect and mitigate CVE-2017-12158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.4.0

Fixed versions

  • 3.4.0

Solution

Upgrade to version 3.4.0 or above.

Impact 5.4 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.keycloak/keycloak-parent/CVE-2017-12158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.