Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-0225 EUVD-2022-6552GHSA-755v-r4x4-qf7mGHSA-fqc7-5xxc-ph7r

Stored Cross-Site Scripting (XSS) in Keycloak via groups dropdown

Published Aug 26, 2022 · Updated Aug 2, 2024 · Assigned by redhat

Description

A flaw was found in Keycloak. This flaw allows a privileged attacker to use the malicious payload as the group name while creating a new group from the admin console, leading to a stored Cross-site scripting (XSS) attack.

Affected products

VendorProductAffectedFixed
— keycloak Not-Known —

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 +1 1-5.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-javapackages-tools +2 6.0.0-7.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-keycloak +1 15.0.8-1.redhat_00001.1.el7sso RHSA-2022:7411, RHSA-2022:7410, RHSA-2022:7409

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-core < 20.0.0 20.0.0 GHSA-755v-r4x4-qf7m
Maven org.keycloak:keycloak-core <= 16.1.0 — GHSA-fqc7-5xxc-ph7r

Advisories 6

References