CVE-2021-20195

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.

Severity
CRITICAL
CVSS v3
9.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.249%
chance of exploitation in the next 30 days
higher than 69.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-05-28Published by the CNA10:42 UTC
  2. 2021-06-08GitHub advisory published (GHSA-q6w2-89hq-hq27)11 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-q6w2-89hq-hq27, affected packages:

PackageVulnerable versionsFixed in
Maven org.keycloak:keycloak-corebefore 13.0.013.0.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
redhat keycloakbefore 12.0.3fixed in 12.0.312.0.3

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources