Cross-site scriptingin Red Hat Single Sign-On 7.
Proof of concept public (GitHub).
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.
- Upgrade org.keycloak:keycloak-parent (Maven) to 20.0.5 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Nov 2022CVE ID reserved by redhat.
- 25 Sep 2023Published in the CVE List.
- 3 Aug 2024CVE record last updated.
- 19 Aug 2025First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Single Sign-On 7 vulnerabilities
Same weakness:
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com issue-tracking, x_refsource_REDHAT
Patchminder. CVE-2022-4137: Cross-site scripting in Red Hat Single Sign-On 7. https://patchminder.com/cve/cve-2022-4137/ (accessed 5 December 2026).