{"schemaVersion":3,"id":"GHSA-W8V7-C7PM-7WFR","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Duplicate Advisory: Keycloak vulnerable to Cross-Site Scripting (XSS)\n\n## Duplicate Advisory\nThis advisory is a duplicate of [GHSA-w9mf-83w3-fv49](https://github.com/advisories/GHSA-w9mf-83w3-fv49). This link is maintained to preserve external references.\n\n## Original Description\nA 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.","dates":{"published":"2022-09-02T00:01:02.000Z","modified":"2024-12-02T05:45:28.301Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","computed":true,"selection":"version-preference"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"org.keycloak","product":"keycloak-core","name":"org.keycloak:keycloak-core","label":"keycloak-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.keycloak/keycloak-core","purlType":"maven","versions":[{"text":"≤ 19.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 19.0.1","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","label":"github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2256","label":"nvd.nist.gov/vuln/detail/CVE-2022-2256","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2101942","label":"bugzilla.redhat.com/show_bug.cgi?id=2101942","hostname":"bugzilla.redhat.com","tags":["WEB"]},{"url":"https://github.com/keycloak/keycloak","label":"github.com/keycloak/keycloak","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-02T00:01:02.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-02T05:45:28.301Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:56:05.374Z","stale":false,"partial":false}}