OpenBao has Reflected XSS in its OIDC authentication error message
Package
Affected versions
< 0.0.0-20260325133417-6e2b2dd84f0e
Patched versions
0.0.0-20260325133417-6e2b2dd84f0e
Description
Published to the GitHub Advisory Database
Mar 26, 2026
Reviewed
Mar 26, 2026
Published by the National Vulnerability Database
Mar 27, 2026
Last updated
Mar 27, 2026
Impact
OpenBao installations that have an OIDC/JWT authentication method enabled and a role with
callback_mode=directconfigured are vulnerable to XSS via theerror_descriptionparameter on the page for a failed authentication.This allows an attacker access to the token used in the Web UI by a victim.
Patches
The
error_descriptionparameter has been replaced with a static error message in v2.5.2Workarounds
The vulnerability can be mitigated by removing any roles with
callback_modeset todirect.References