Skip to content
OpenAdvisories
Medium · 5.4 CVE-2017-12158 EUVD-2022-5267GHSA-v38p-mqq3-m6v5

Keycloak Reflected XSS

Published Oct 26, 2017 · Updated Sep 16, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat keycloak 3.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 2.5.14-1.Final_redhat_1.1.jbcs.el6 RHSA-2017:2905, RHSA-2017:2904

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-parent < 3.4.0 3.4.0 GHSA-v38p-mqq3-m6v5

Advisories 2

References