{"cve":"CVE-2022-2256","nvd":{"published":"2022-09-01T21:15:09.287","modified":"2026-06-17T04:41:34.350","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8},"cwes":["CWE-79"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2101942","https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","https://bugzilla.redhat.com/show_bug.cgi?id=2101942","https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49"],"products":["redhat:single_sign-on"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-2256","score":0.00696,"percentile":0.53052,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w9mf-83w3-fv49","url":"https://osv.dev/vulnerability/GHSA-w9mf-83w3-fv49","summary":"Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles","modified":"2026-05-04T08:46:05.321219676Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","purl":"pkg:maven/org.keycloak/keycloak-parent","ranges":["<19.0.2"],"fixed":["19.0.2"]}]}],"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."]}