REDHAT-BUG-2480170: XSS

Published May 20, 2026
·
Updated

A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with manage-client permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive javascript: or data: scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console.

Affected Software

1 affected component
Keycloak Keycloak

Event History

May 20, 2026
Data Sourced
via Red Hat·02:45 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which users or access paths present the primary exploitation risk?

Exploitation requires administrative privileges that include the manage-client permission, or access to client registration endpoints. An unauthenticated external attacker is not described as having the ability to register the malicious client.

2

What user interaction is needed for the XSS to execute?

A victim must click a crafted link associated with the malicious client's redirect URI. The described attack can be triggered through flows such as logout or the Admin Console.

3

What is the impact if the attack succeeds?

Successful exploitation allows arbitrary code execution in the Keycloak origin. This means the injected script executes in the security context of the Keycloak deployment rather than solely on an attacker-controlled site.

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