Critical severity · published May 28, 2021
CVE-2021-20195
A flaw was found in keycloak in versions before 13.0.0
9.6
CVSS
1.2%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Keycloak · Redhat
before 12.0.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-20195
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-20195
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1919143
More from Keycloak
9.8
CVE-2022-1245
A privilege escalation flaw was found in the token exchange feature of keycloak
9.8
CVE-2019-14910
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server (ldaps), in this case…
9.1
CVE-2022-3782
keycloak: path traversal via double URL encoding
9.1
CVE-2019-14837
A flaw was found in keycloack before version 8.0.0
8.8
CVE-2026-3047
Org.keycloak.broker.saml: keycloak saml broker: authentication bypass due to disabled saml client completing idp-initiated login
