Read the docs
TI-2021-03493 Aliases CVE-2021-20195GHSA-q6w2-89hq-hq27

Improper input validation in keycloak

Priority MEDIUM 44CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01249 69th percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-core (Maven): 13.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakkeycloak 13.0.0—No fix listedCNA
—org.keycloak:keycloak-core (Maven)before 13.0.013.0.0Patch availableGHSA-q6w2-89hq-hq27
  • keycloak Vendor— Affected keycloak 13.0.0 Fixed in — No fix listed CNA
  • org.keycloak:keycloak-core (Maven) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-q6w2-89hq-hq27

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*before 12.0.3VulnerableRed Hat
  • cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* Versions before 12.0.3 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-q6w2-89hq-hq27 org.keycloak:keycloak-core (Maven) Fixed in 13.0.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 7 products
  • Red Hat Decision Manager 7
  • Red Hat Fuse 7
  • Red Hat Integration Camel K 1
  • Red Hat OpenShift Application Runtimes
  • Red Hat Process Automation 7
  • Red Hat Single Sign-On 7
  • Red Hat support for Spring Boot

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-20195
  2. 2026-10-03 Alias added: GHSA-q6w2-89hq-hq27

References

  • TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
  • TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
  • TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
  • TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
See all 97 →

Sources