# CVE-2020-10776: Cross-site Scripting in keycloak

Source: https://junglewise.ai/threats/cve-2020-10776-cross-site-scripting-in-keycloak  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-09  
License: CC BY 4.0 with a link back

CVE-2020-10776 · Severity: low · CVSS 3.1 · Published 2022-02-09

Cross-site Scripting in keycloak

Technologies: [org.keycloak:keycloak-server-spi-private (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-server-spi-private), [org.keycloak:keycloak-services (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-services). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-10776 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-10776 being exploited in the wild.

**How severe is CVE-2020-10776?** Low severity, with a CVSS score of 3.1, published 9 February 2022.

**Which products and versions are affected?** org.keycloak:keycloak-server-spi-private (Maven) ECOSYSTEM:introduced=0,fixed=12.0.0; org.keycloak:keycloak-services (Maven) ECOSYSTEM:introduced=0,fixed=12.0.0.

**Is there a fix for CVE-2020-10776?** Yes. org.keycloak:keycloak-server-spi-private (Maven): upgrade to 12.0.0 or later; org.keycloak:keycloak-services (Maven): upgrade to 12.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-10776?** Check whether you run org.keycloak:keycloak-server-spi-private (Maven) or org.keycloak:keycloak-services (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-server-spi-private (Maven): upgrade to 12.0.0 or later

  ```sh
  # set org.keycloak:keycloak-server-spi-private to 12.0.0 in your pom.xml or build.gradle
  ```

- org.keycloak:keycloak-services (Maven): upgrade to 12.0.0 or later

  ```sh
  # set org.keycloak:keycloak-services to 12.0.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-server-spi-private (Maven) ECOSYSTEM:introduced=0,fixed=12.0.0
- org.keycloak:keycloak-services (Maven) ECOSYSTEM:introduced=0,fixed=12.0.0

## Identifiers

- CVE-2020-10776
- GHSA-484q-784p-8m5h

## Related threats

- [Keycloak unauthenticated account takeover via reset-credentials bypass](https://junglewise.ai/threats/cve-2026-18963-siemens-industrial-edge-management-authentication-bypass-in)
- [Duplicate Advisory: Authentication bypass via jwt algorithm confusion](https://junglewise.ai/threats/duplicate-advisory-authentication-bypass-via-jwt-algorithm-confusion-40489dee)
- [Keycloak JWT algorithm confusion in JWT Authorization Grant flow](https://junglewise.ai/threats/cve-2026-11800-keycloak-jwt-algorithm-confusion-in-jwt-authorization-grant-flow)
- [Duplicate Advisory: Keycloak vulnerable to authorization bypass via incorrect uri comparison](https://junglewise.ai/threats/duplicate-advisory-keycloak-vulnerable-to-authorization-bypass-via-009d6a49)
- [Duplicate Advisory: Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass](https://junglewise.ai/threats/duplicate-advisory-keycloak-vulnerable-to-cross-site-scripting-xss-via-1687acae)
