Home / Red Hat / Red Hat Single Sign-On 7 / CVE-2022-1438
CVE-2022-1438: is it exploited, and which versions of Red Hat Single Sign-On 7 are affected and fixed?
CVE-2022-1438 is a cross-site scripting (XSS) vulnerability in Red Hat Single Sign-On 7. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: org.keycloak:keycloak-services through 21.0.0 (GitHub advisory GHSA-w354-2f3c-qvg9). Fixed in 0:18.0.6-1.redhat_00001.1.el7sso, 0:18.0.6-1.redhat_00001.1.el8sso, 0:18.0.6-1.redhat_00001.1.el9sso and 7.6-20 (CVE record by redhat). Severity: Medium (6.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2022-1438?
Keycloak: xss on impersonation under specific circumstances
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.
From the CVE record by redhat, last updated September 24, 2024, 15:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 keycloak-services | not stated | |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 rh-sso7-keycloak | all versions (default) | 0:18.0.6-1.redhat_00001.1.el7sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak | all versions (default) | 0:18.0.6-1.redhat_00001.1.el8sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak | all versions (default) | 0:18.0.6-1.redhat_00001.1.el9sso |
| Red Hat | RHEL-8 based Middleware Containers rh-sso-7/sso76-openshift-rhel8 | all versions (default) | 7.6-20 |
As the CVE record by redhat states it, last updated September 24, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | <= 21.0.0 | none listed | GHSA-w354-2f3c-qvg9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 25, 2023. Summary: Keycloak vulnerable to Cross-site Scripting.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | keycloak | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:22 UTC.
How severe is CVE-2022-1438?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | redhat |
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-1438 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 24, 2024)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 53.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and 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
Who found and reported it?
- Red Hat would like to thank Grzegorz Tworek (SISOFT s.c.) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 22, 2022
- Published
- September 20, 2023, 13:34 UTC
- CVE record updated
- September 24, 2024, 15:06 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 04:22 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Single Sign-On 7?
- Dec 3, 2026CVE-2026-143804 Red Hat Build of Keycloak: no limit on login attempts (brute force)
- Dec 3, 2026CVE-2026-143801 Red Hat Build of Keycloak: missing authorization
- Dec 1, 2026CVE-2026-140884 Red Hat Build of Keycloak: improper input validation
- Nov 26, 2026CVE-2026-137602 Red Hat Build of Keycloak: authorization bypass through a user-controlled key (IDOR)
- Nov 26, 2026CVE-2026-137435 Red Hat Build of Keycloak: improper Handling of Case Sensitivity
- Nov 26, 2026CVE-2026-137431 Red Hat Build of Keycloak: improper Validation of Consistency within Input
- Nov 25, 2026CVE-2026-136703 Red Hat Build of Keycloak: observable Response Discrepancy
- Nov 25, 2026CVE-2026-135768 Red Hat Build of Keycloak: authentication bypass (improper authentication)
Every CVE in Red Hat Single Sign-On 7
Questions about CVE-2022-1438
Is CVE-2022-1438 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Single Sign-On 7 are affected by CVE-2022-1438?
org.keycloak:keycloak-services through 21.0.0, per the GitHub advisory GHSA-w354-2f3c-qvg9. The tables above give every range the sources list.
Which version fixes CVE-2022-1438?
0:18.0.6-1.redhat_00001.1.el7sso, 0:18.0.6-1.redhat_00001.1.el8sso, 0:18.0.6-1.redhat_00001.1.el9sso and 7.6-20, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-1438?
Medium (6.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2022-1438?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.