REDHAT-BUG-2452294: XSS

Published Mar 27, 2026
·
Updated

OpenBao is an open source identity-based secrets management system. Prior to version 2.5.2, OpenBao installations that have an OIDC/JWT authentication method enabled and a role with callbackmode=direct configured are vulnerable to XSS via the errordescription parameter on the page for a failed authentication. This allows an attacker access to the token used in the Web UI by a victim. The errordescription parameter has been replaced with a static error message in v2.5.2. The vulnerability can be mitigated by removing any roles with callbackmode set to direct.

Affected Software

1 affected component
OpenBao OpenBao<2.5.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenBao to a version that resolves this vulnerability.

    Fixed in 2.5.2
  2. Configuration

    Mitigate by removing any OpenBao roles configured with `callback_mode=direct` when OIDC/JWT authentication is enabled.

    OpenBao role.callback_mode = remove roles where callback_mode=direct

Event History

Mar 27, 2026
Data Sourced
via Red Hat·03:04 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2452294?

The severity of REDHAT-BUG-2452294 is classified as high with a score of 7.

2

What type of vulnerability is REDHAT-BUG-2452294?

REDHAT-BUG-2452294 is classified as a Cross-Site Scripting (XSS) vulnerability.

3

How do I fix REDHAT-BUG-2452294?

To fix REDHAT-BUG-2452294, upgrade OpenBao to version 2.5.2 or later.

4

What systems are affected by REDHAT-BUG-2452294?

OpenBao installations with the OIDC/JWT authentication method and `callback_mode=direct` are affected by REDHAT-BUG-2452294.

5

What is the impact of exploiting REDHAT-BUG-2452294?

Exploiting REDHAT-BUG-2452294 can allow attackers to perform Cross-Site Scripting (XSS), potentially compromising user sessions.

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