CVE-2020-10776:
Cross-site Scripting in keycloak
4.8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
2/9/2022
Updated
4/22/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.keycloak:keycloak-server-spi-private | maven | < 12.0.0 | 12.0.0 |
org.keycloak:keycloak-services | maven | < 12.0.0 | 12.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper validation of redirect_uri schemes. The commit shows removal of ClientValidationUtil and introduction of enhanced validation in ValidationUtil, particularly for OIDC clients. The deleted ClientValidationUtil.validate was clearly part of the flawed validation chain, while the client registration endpoint (OIDCClientRegistrationProvider) would have been the entry point using this validation. The medium confidence for the second function comes from indirect evidence in the commit's OIDCContext introduction rather than explicit vulnerable code shown.