REDHAT-BUG-2455325: XSS

Published Apr 6, 2026
·
Updated

Stored Cross-Site Scripting (XSS) vulnerability in the organization selection login page of Keycloak. The flaw is caused by placing organization.alias into an inline JavaScript onclick handler, where browser HTML decoding bypasses FreeMarker’s HTML escaping. When an attacker-controlled alias containing a crafted JavaScript payload is rendered on the organization selection page, the payload can execute in the context of any user’s browser. This can be exploited remotely by an admin with manage-realm or manage-organizations privileges, without further user interaction beyond viewing the login page. Successful exploitation allows execution of arbitrary JavaScript, enabling session theft, account actions, or further attacks against users of the affected realm.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Apr 6, 2026
Data Sourced
via Red Hat·07:51 AM
DescriptionSeverityAffected Software
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 the severity of REDHAT-BUG-2455325?

The severity of REDHAT-BUG-2455325 is classified as critical due to its potential to allow stored Cross-Site Scripting attacks.

2

How do I fix REDHAT-BUG-2455325?

To fix REDHAT-BUG-2455325, it is recommended to apply the latest security patches provided by Red Hat for Keycloak.

3

What is the impact of REDHAT-BUG-2455325?

The impact of REDHAT-BUG-2455325 includes the potential for an attacker to execute arbitrary JavaScript in the context of a user's session.

4

Which versions of Keycloak are affected by REDHAT-BUG-2455325?

All versions of Red Hat Keycloak that contain the organization selection login page are affected by REDHAT-BUG-2455325.

5

How does REDHAT-BUG-2455325 exploit the application?

REDHAT-BUG-2455325 exploits the application by injecting malicious scripts through the organization.alias parameter in inline JavaScript.

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