Vulnerabilities · 2022 · Redhat
CVE-2022-4137
Redhat Keycloak vulnerability
A reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page. This flaw requires a user or administrator to interact with a link in order to be vulnerable. This may compromise user details, allowing it to be changed or collected by an attacker.
Affected products
Keycloak, Single Sign-on. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Keycloak runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/errata/RHSA-2023:1043 · Vendor Advisory
- access.redhat.com/errata/RHSA-2023:1044 · Vendor Advisory
- access.redhat.com/errata/RHSA-2023:1045 · Vendor Advisory
- access.redhat.com/errata/RHSA-2023:1049 · Vendor Advisory
- access.redhat.com/security/cve/CVE-2022-4137 · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2148496 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-4137
- cve.org/CVERecord?id=CVE-2022-4137
More vulnerabilities in Redhat products
CVE-2025-53862CVE-2025-53861CVE-2025-47711CVE-2025-46400CVE-2025-46399CVE-2025-46398CVE-2025-46397CVE-2025-35036All 5,277
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.