Keycloak Unsanitized HTML Entities XSS via Impersonation
CVE-2022-1438 Published on September 20, 2023
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.
Vulnerability Analysis
CVE-2022-1438 is exploitable with network access, requires user interaction and user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public. 442 days later.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2022-1438 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2022-1438
Want to know whenever a new CVE is published for Red Hat Keycloak? stack.watch will email you.
Affected Versions
Red Hat Single Sign-On 7: Red Hat Single Sign-On 7.6 for RHEL 7:- Version 0:18.0.6-1.redhat_00001.1.el7sso and below * is unaffected.
- Version 0:18.0.6-1.redhat_00001.1.el8sso and below * is unaffected.
- Version 0:18.0.6-1.redhat_00001.1.el9sso and below * is unaffected.
- Version 7.6-20 and below * is unaffected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2022-1438
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <= 21.0.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.