CVE-2020-10776: XSS

Published Jun 16, 2020
·
Updated

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

Other sources

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

OIDC redirecturi allows dangerous schemes resulting in potential XSS

https://issues.redhat.com/browse/KEYCLOAK-14306

Red Hat

Affected Software

8 affected componentsFixes available
redhat/rh-sso7-keycloak<0:9.0.9-1.redhat_00001.1.el6
0:9.0.9-1.redhat_00001.1.el6
redhat/rh-sso7-keycloak<0:9.0.9-1.redhat_00001.1.el7
0:9.0.9-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:9.0.9-1.redhat_00001.1.el8
0:9.0.9-1.redhat_00001.1.el8
redhat/rh-sso7-libunix-dbus-java<0:0.8.0-2.el8
0:0.8.0-2.el8
redhat/keycloak<12.0.0
12.0.0
maven/org.keycloak:keycloak-services<12.0.0
12.0.0
maven/org.keycloak:keycloak-server-spi-private<12.0.0
12.0.0
redhat Keycloak<12.0.0

Remediation

Information

Trusted Hosts Policy could be used to mitigate this attack : https://www.keycloak.org/docs/latest/securing_apps/index.html#client-registration-policies

Event History

Nov 4, 2020
CVE Published
12:00 AM
Nov 17, 2020
CVE Published
via MITRE·01:26 AM
Data Sourced
via MITRE·01:26 AM
DescriptionWeakness
Feb 9, 2022
Advisory Published
via GitHub·12:58 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-10776?

CVE-2020-10776 is a vulnerability found in Keycloak before version 12.0.0 that allows an attacker to perform a Cross-site scripting attack.

2

What is the severity of CVE-2020-10776?

CVE-2020-10776 has a severity level of medium (4) based on the CVSS score.

3

How can an attacker exploit CVE-2020-10776?

An attacker can exploit CVE-2020-10776 by adding unsafe schemes for the redirect_uri parameter, enabling them to perform a Cross-site scripting attack.

4

What is the affected software for CVE-2020-10776?

Keycloak before version 12.0.0 is affected by CVE-2020-10776.

5

How can I fix CVE-2020-10776?

To fix CVE-2020-10776, upgrade to Keycloak version 12.0.0 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203