{"api_version":"1","generated_at":"2026-07-23T09:59:44+00:00","cve":"CVE-2022-2256","urls":{"html":"https://cve.report/CVE-2022-2256","api":"https://cve.report/api/cve/CVE-2022-2256.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2256","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2256"},"summary":{"title":"CVE-2022-2256","description":"A Stored Cross-site scripting (XSS) vulnerability was found in keycloak as shipped in Red Hat Single Sign-On 7. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-09-01 21:15:00","updated_at":"2022-10-18 18:42:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","name":"https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"404","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2101942","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2101942","refsource":"MISC","tags":[],"title":"2101942 – (CVE-2022-2256) CVE-2022-2256 keycloak: improper input validation permits script injection","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2256","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2256","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"2256","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"single_sign-on","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-2256","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"A Stored Cross-site scripting (XSS) vulnerability was found in keycloak as shipped in Red Hat Single Sign-On 7. This flaw allows a privileged attacker to execute malicious scripts in the admin console, abusing the default roles functionality."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79","cweId":"CWE-79"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"keycloak","version":{"version_data":[{"version_affected":"=","version_value":"keycloak as shipped in Red Hat Single Sign-On 7"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2101942","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2101942"},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","refsource":"MISC","name":"https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49"}]}},"nvd":{"publishedDate":"2022-09-01 21:15:00","lastModifiedDate":"2022-10-18 18:42:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.8,"baseSeverity":"LOW"},"exploitabilityScore":1.2,"impactScore":2.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}