CVE-2022-4137
Java vulnerability analysis and mitigation

Overview

CVE-2022-4137 is a reflected cross-site scripting (XSS) vulnerability discovered in the 'oob' OAuth endpoint of Keycloak due to incorrect null-byte handling. The vulnerability was addressed in Red Hat Single Sign-On 7.6.2 security updates released on March 1, 2023 (Red Hat Advisory, NVD).

Technical details

The vulnerability exists in the OAuth endpoint's handling of null bytes, which allows an attacker to insert an arbitrary URI into a Keycloak error page. The issue specifically affects the 'oob' OAuth endpoint and requires user interaction with a malicious link to be exploited (Red Hat Bugzilla).

Impact

If successfully exploited, this vulnerability could allow attackers to compromise user details, enabling them to modify or collect sensitive information. When administrators are targeted, there is potential for server data compromise. The attack requires user or administrator interaction with a malicious link to be successful (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in Red Hat Single Sign-On 7.6.2 releases for RHEL 7, 8, and 9. Users should upgrade to the patched versions available through the security updates RHSA-2023:1043, RHSA-2023:1044, and RHSA-2023:1045 (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-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 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