CVE-2022-1438
Java vulnerability analysis and mitigation

Overview

A Cross-site scripting (XSS) vulnerability (CVE-2022-1438) was discovered in Keycloak, where HTML entities are not properly sanitized during user impersonation under specific circumstances. The vulnerability affects Red Hat Single Sign-On 7.6, which is based on the Keycloak project (NVD, Red Hat Advisory).

Technical details

The vulnerability exists in the authentication processor code where exception handling fails to properly sanitize HTML entities during user impersonation. The issue has a CVSS v3.1 base score of 4.8 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N according to NVD assessment (NVD).

Impact

If exploited, this vulnerability could allow an attacker to execute malicious JavaScript code in the context of other users' sessions when they attempt to impersonate users. This could potentially lead to unauthorized access to sensitive information or perform actions on behalf of other users (Red Hat Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Red Hat Single Sign-On 7.6.2 for various platforms including RHEL 7, 8, and 9. Users are advised to upgrade to the latest version to address this security issue (Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management