CVE-2022-1438
published medium CVSS 3.1 · 6.4Keycloak: xss on impersonation under specific circumstances
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 7 · 0:18.0.6-1.redhat_00001.1.el7sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 8 · 0:18.0.6-1.redhat_00001.1.el8sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 9 · 0:18.0.6-1.redhat_00001.1.el9sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso-7/sso76-openshift-rhel8RHEL-8 based Middleware Containers · 7.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.6-1.redhat_00001.1.el7sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.6-1.redhat_00001.1.el8sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.6-1.redhat_00001.1.el9sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
7- RHSA-2023:1043 https://access.redhat.com/errata/RHSA-2023:1043
- RHSA-2023:1044 https://access.redhat.com/errata/RHSA-2023:1044
- RHSA-2023:1045 https://access.redhat.com/errata/RHSA-2023:1045
- RHSA-2023:1047 https://access.redhat.com/errata/RHSA-2023:1047
- RHSA-2023:1049 https://access.redhat.com/errata/RHSA-2023:1049
- https://access.redhat.com/security/cve/CVE-2022-1438
- RHBZ#2031904 https://bugzilla.redhat.com/show_bug.cgi?id=2031904
Provider assertions
3redhat · cna
Keycloak: xss on impersonation under specific circumstances
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2d04c79ae1ee2d7b0f3475ef1ca6a68d73bded28a90e4dfa7cbcc05a2e765f82
- Ingested
- 23 Sep 2026, 07:57:48 UTC
- Source record
- Official CVE record