Vulnerability · Published Sep 20, 2023 · Assigned by redhat
CVE-2022-1438Keycloak: xss on impersonation under specific circumstances
Medium 6.4
In plain English
A medium-severity cross-site scripting in Red Hat Single Sign-On 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.7%top 48.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | no fix listed | GHSA-w354-2f3c-qvg9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | see references |
| Red Hat | RHEL-8 based Middleware Containers | see references |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2023:1043 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:1044 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:1045 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:1047 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:1049 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2022-1438 vdb-entry, x_refsource_REDHAT
- RHBZ#2031904 issue-tracking, x_refsource_REDHAT