{"id":"CVE-2021-20323","aliases":["EUVD-2022-1588","GHSA-xpgc-j48j-jwv9"],"status":"published","title":"Cross-site Scripting in Keycloak","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.37246,"percentile":0.98536,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-79"],"published":"2022-03-25T18:03:00Z","modified":"2026-10-24T10:30:52Z","exploits":[{"source":"pocgithub","id":"ndmalc/CVE-2021-20323","title":"ndmalc/CVE-2021-20323","date":"2022-12-07","url":"https://github.com/ndmalc/CVE-2021-20323"},{"source":"pocgithub","id":"Cappricio-Securities/CVE-2021-20323","title":"Cappricio-Securities/CVE-2021-20323","date":"2024-01-11","url":"https://github.com/Cappricio-Securities/CVE-2021-20323"},{"source":"pocgithub","id":"cscpwn0sec/CVE-2021-20323","title":"cscpwn0sec/CVE-2021-20323","date":"2024-07-07","url":"https://github.com/cscpwn0sec/CVE-2021-20323"},{"source":"nuclei","id":"CVE-2021-20323","title":"Keycloak 10.0.0 - 18.0.0 - Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-20323.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","fixed_in":["17.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.keycloak:keycloak-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.0.0"},{"fixed":"17.0.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.keycloak:keycloak-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.0.0"},{"fixed":"17.0.0"}]}],"versions":["15.0.0","15.0.1","15.0.2","15.1.0","15.1.1","16.0.0","16.1.0","16.1.1"]}],"products":[{"vendor":"red hat","product":"keycloak-services"},{"vendor":"redhat","product":"keycloak"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2013577","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20323","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xpgc-j48j-jwv9"},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-20323","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","status":"published","published":"2022-03-25T18:03:00Z","modified":"2024-08-03T17:37:23.958Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:55.564736Z"}],"euvd":[{"id":"EUVD-2022-1588","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","status":"published","published":"2022-03-25T18:03:00Z","modified":"2024-08-03T17:37:23Z","updated_at":"2026-11-03T03:25:08.888273Z"}],"ghsa":[{"id":"GHSA-xpgc-j48j-jwv9","title":"Cross-site Scripting in Keycloak","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak version 15. The issue was fixed in version 17.0.0.","status":"published","published":"2022-03-26T00:00:31Z","modified":"2023-01-27T05:01:01Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:16.28305Z"}],"nvd":[{"id":"CVE-2021-20323","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","status":"published","published":"2022-03-25T19:15:08.56Z","modified":"2026-06-17T03:33:40.447Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:05.581807Z"}],"osv":[{"id":"CVE-2021-20323","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","status":"published","published":"2022-03-25T19:15:08.56Z","modified":"2026-10-24T10:30:52.147297806Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.004149Z"},{"id":"GHSA-xpgc-j48j-jwv9","title":"Cross-site Scripting in Keycloak","description":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak version 15. The issue was fixed in version 17.0.0.","status":"published","published":"2022-03-26T00:00:31Z","modified":"2023-11-08T04:04:37.052063Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
