CVE-2022-4137
mediumpriority · track · 34EPSS 0.012 · 68 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (9)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9hhc-pj4w-w5rvKeycloak Cross-site Scripting on OpenID connect login service2023-03-01ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2023:1043cnnvd
- https://access.redhat.com/errata/RHSA-2023:1044cnnvd
- https://access.redhat.com/errata/RHSA-2023:1045cnnvd
- https://access.redhat.com/errata/RHSA-2023:1049cnnvd
- https://access.redhat.com/security/cve/CVE-2022-4137cnnvd
- https://access.redhat.com/security/cve/cve-2022-4137cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2148496cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-4137/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan