Vulnerability record · CVE-2022-4137 · published 25 September 2023
CVE-2022-4137: Redhat keycloak cross-site scripting vulnerability
Redhat · Keycloak
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2023:1043 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1044 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1045 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1049 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2022-4137 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2148496 | Issue TrackingVendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1043 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1044 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1045 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2023:1049 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2022-4137 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2148496 | Issue TrackingVendor Advisory |
Track CVE-2022-4137 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-4137), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.