CVE-2022-1438

Keycloak: xss on impersonation under specific circumstances

State
Published
Severity
6.4 Medium
Published
Sep 20, 2023
Updated
Sep 24, 2024
Reserved
Apr 22, 2022

Read the record on cve.org

Description

A flaw was found in Keycloak. Under specific circumstances, HTML entities are not sanitized during user impersonation, resulting in a Cross-site scripting (XSS) vulnerability.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

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

Affected Products

ProductVersions
Red Hat Single Sign-On 7Red Hat
    Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
    • 0:18.0.6-1.redhat_00001.1.el7sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
    • 0:18.0.6-1.redhat_00001.1.el8sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
    • 0:18.0.6-1.redhat_00001.1.el9sso and laterNot affected
    RHEL-8 based Middleware ContainersRed Hat
    • 7.6-20 and laterNot affected

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.