CVE-2021-20195: A flaw was found in keycloak in versions before 13.0.0.
CVE-2021-20195 affects 37 listed versions of Red Hat Keycloak in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Red Hat Keycloak
37 of 176 listed versions are affected. Fixed in 12.0.3. The newest release, 26.37.1, is not affected.
12.0.2 12.0.1 12.0.0 11.0.3 11.0.1 11.0.0 10.0.2 10.0.1 10.0.0 9.0.13 9.0.2 9.0.1 9.0.0 8.0.2 8.0.0 7.0.1 7.0.0 6.0.2 6.0.1 6.0.0 4.8.3 4.6.0 4.3.0.Final 4.3.0 4.2.1 4.0.0 3.4.3.Final 3.4.3 3.4.2.Final 3.4.0 3.2.1.Final 3.2.1 2.5.5 2.5.1 2.4.0 2.3.0 1.0.1
What it is
A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete account takeover is possible due to user-supplied data fields not being properly encoded and Javascript code being used to process the data. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (NVD)
Published by Red Hat on 28 May 2021. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2021-20195 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.