{"id":"GHSA-cpj3-3r2f-xj59","summary":"OpenBao has Reflected XSS in its OIDC authentication error message","details":"### Impact\n\nOpenBao 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.\n\nThis allows an attacker access to the token used in the Web UI by a victim.\n\n### Patches\nThe `error_description` parameter has been replaced with a static error message in v2.5.2\n\n### Workarounds\nThe vulnerability can be mitigated by removing any roles with `callback_mode` set to `direct`.","aliases":["BIT-openbao-2026-33758","CVE-2026-33758","GO-2026-4862"],"modified":"2026-07-29T03:49:12.005351291Z","published":"2026-03-26T18:37:09Z","database_specific":{"nvd_published_at":"2026-03-27T15:16:57Z","cwe_ids":["CWE-20","CWE-80"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-03-26T18:37:09Z"},"references":[{"type":"WEB","url":"https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33758"},{"type":"WEB","url":"https://github.com/openbao/openbao/pull/2709"},{"type":"WEB","url":"https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662"},{"type":"PACKAGE","url":"https://github.com/openbao/openbao"},{"type":"WEB","url":"https://github.com/openbao/openbao/releases/tag/v2.5.2"}],"affected":[{"package":{"name":"github.com/openbao/openbao","ecosystem":"Go","purl":"pkg:golang/github.com/openbao/openbao"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20260325133417-6e2b2dd84f0e"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cpj3-3r2f-xj59/GHSA-cpj3-3r2f-xj59.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}