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.
https://bugzilla.redhat.com/show_bug.cgi?id=2031904
https://access.redhat.com/security/cve/CVE-2022-1438
https://access.redhat.com/errata/RHSA-2023:1049
https://access.redhat.com/errata/RHSA-2023:1047
https://access.redhat.com/errata/RHSA-2023:1045