CVE-2022-1438
MEDIUM 4.8CVSS 3.1Keycloak vulnerable to Cross-site Scripting
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.
- Published
- 20 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-w354-2f3c-qvg9
- Sources
- NVDJSONOSV GHSA-w354-2f3c-qvg9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.keycloak:keycloak-services | <= 21.0.0 |
References
- https://access.redhat.com/errata/RHSA-2023:1043 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:1044 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:1045 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:1047 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:1049 · Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2022-1438 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2031904 · Issue Tracking, Vendor Advisory, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1438 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
- https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 20 Sep 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Mar 2023)