All reports
Critical

OpenBao has Reflected XSS in its OIDC authentication error message

Affected versions

Version ranges need review.

Affected versions
< 0.0.0-20260325133417-6e2b2dd84f0e
Fixed version
0.0.0-20260325133417-6e2b2dd84f0e
Affected versions
<0.0.0-20260325133417-6e2b2dd84f0e
Fixed version
0.0.0-20260325133417-6e2b2dd84f0e

Exploitation

CVE-2026-33758

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-20

Description

Impact

OpenBao installations that have an OIDC/JWT authentication method enabled and a role with callback_mode=direct configured are vulnerable to XSS via the error_description parameter 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_description parameter has been replaced with a static error message in v2.5.2

Workarounds

The vulnerability can be mitigated by removing any roles with callback_mode set to direct.

Links

Credits

  • gianklug