{"cve":"CVE-2022-4137","nvd":{"published":"2023-09-25T20:15:09.897","modified":"2026-06-17T05:20:03.403","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-81"],"references":["https://access.redhat.com/errata/RHSA-2023:1043","https://access.redhat.com/errata/RHSA-2023:1044","https://access.redhat.com/errata/RHSA-2023:1045","https://access.redhat.com/errata/RHSA-2023:1049","https://access.redhat.com/security/cve/CVE-2022-4137"],"products":["redhat:keycloak","redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:39:34.467980132+00:00"},"epss":{"cve":"CVE-2022-4137","score":0.01193,"percentile":0.68018,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9hhc-pj4w-w5rv","url":"https://osv.dev/vulnerability/GHSA-9hhc-pj4w-w5rv","summary":"Keycloak Cross-site Scripting on OpenID connect login service","modified":"2024-02-16T08:10:52.470433Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["<20.0.5"],"fixed":["20.0.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}