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

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2020-11-17T01:26:24.000Z
- Modified: 2026-06-17T02:48:25.390Z
- Also known as: GHSA-484q-784p-8m5h
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

A flaw was found in Keycloak before version 12.0.0, where it is possible to add unsafe schemes for the redirect_uri parameter. This flaw allows an attacker to perform a Cross-site scripting attack.

(As written by CVE List.)

## Affected

- keycloak: before version 12.0.0
- org.keycloak:keycloak-server-spi-private (Maven): before 12.0.0
- org.keycloak:keycloak-services (Maven): before 12.0.0
- redhat keycloak: before 12.0.0

## Every score

- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1847428> (issue-tracking, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10776> (advisory)
- <https://github.com/keycloak/keycloak/commit/01be601dbdd77822827de173e34180d9322db85c> (web)

## Sources

- CVE List: [CVE-2020-10776](https://www.cve.org/CVERecord?id=CVE-2020-10776), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-484q-784p-8m5h](https://github.com/advisories/GHSA-484q-784p-8m5h), CC-BY-4.0, modified 2024-04-22
- NVD: [CVE-2020-10776](https://nvd.nist.gov/vuln/detail/CVE-2020-10776), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-10776 · Whole record: https://cve.day/CVE-2020-10776.json · Rebuilt by cve.day 2026-11-25T22:57:55.838Z
