{"id":"CVE-2021-20323","published":"2022-03-25T18:03:00Z","modified":"2024-08-03T17:37:23Z","title":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak","vendor":null,"product":null,"tier":"tail","description":{"text":"A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.37246,"percentile":0.98558,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2013577","tags":["x_refsource_MISC"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.71},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2022-12-07","earliestUrl":"https://github.com/ndmalc/CVE-2021-20323","repos":[{"name":"ndmalc/CVE-2021-20323","url":"https://github.com/ndmalc/CVE-2021-20323","stars":12,"created":"2022-12-07"},{"name":"Cappricio-Securities/CVE-2021-20323","url":"https://github.com/Cappricio-Securities/CVE-2021-20323","stars":3,"created":"2024-01-11"},{"name":"cscpwn0sec/CVE-2021-20323","url":"https://github.com/cscpwn0sec/CVE-2021-20323","stars":2,"created":"2024-07-07"}]},"nuclei":[{"id":"CVE-2021-20323","name":"Keycloak 10.0.0 - 18.0.0 - Cross-Site Scripting","severity":"medium","path":"http/cves/2021/CVE-2021-20323.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-20323.yaml"}],"first":{"date":"2022-12-07","source":"PoC-in-GitHub","url":"https://github.com/ndmalc/CVE-2021-20323"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"keycloak-services","versions":["keycloak 17.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":[">=15.0.0, <17.0.0"],"patched":["17.0.0"],"from":["GHSA-xpgc-j48j-jwv9"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw exists in Keycloak, in a POST-based request handling path, where user-supplied input is returned to the page without proper neutralisation. The available data does not specify the affected versions, the exact endpoint or the attack vector, so the required access, authentication, user interaction and configuration conditions cannot be confirmed; an attacker would generally need to get a victim to submit or follow a crafted request that causes malicious script to execute in their browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:01:58Z"},"euvd":{"id":"EUVD-2022-1588","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-35509","published":"2022-08-23","fixed":"14.0.0","kev":false},{"cve":"CVE-2021-3632","published":"2022-08-26","fixed":"15.1.0","kev":false},{"cve":"CVE-2021-3856","published":"2022-08-26","fixed":"15.1.0","kev":false},{"cve":"CVE-2021-20323","published":"2022-03-25","fixed":"17.0.0","kev":false},{"cve":"CVE-2022-1466","published":"2022-04-26","fixed":"17.0.1","kev":false,"link":{"from":"CVE-2021-20323","to":"CVE-2022-1466","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-core","fromFixed":"17.0.0","toFixed":"17.0.1","daysApart":32}]}},{"cve":"CVE-2023-0091","published":"2023-01-11","fixed":"20.0.3","kev":false},{"cve":"CVE-2023-1664","published":"2023-05-26","fixed":"21.1.2","kev":false}],"package":"Maven:org.keycloak:keycloak-core"}}