{"id":"GHSA-cpj3-3r2f-xj59","revision":"ba64b5a63e6e4731ba407a71ac8cd93e","records":[{"revision":"ba64b5a63e6e4731ba407a71ac8cd93e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-cpj3-3r2f-xj59","aliases":["BIT-openbao-2026-33758","CVE-2026-33758","GO-2026-4862"],"title":"OpenBao has Reflected XSS in its OIDC authentication error message","description":"### 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`.","state":0,"publishedAt":"2026-03-26T18:37:09+00:00","modifiedAt":"2026-07-27T09:11:13.8714477+00:00","affected":[{"ecosystem":"Go","name":"github.com/openbao/openbao","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20260325133417-6e2b2dd84f0e"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59","https://nvd.nist.gov/vuln/detail/CVE-2026-33758","https://github.com/openbao/openbao/pull/2709","https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662","https://github.com/openbao/openbao","https://github.com/openbao/openbao/releases/tag/v2.5.2"],"sourceUrl":"https://github.com/advisories/GHSA-cpj3-3r2f-xj59","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-cpj3-3r2f-xj59","identifiers":["GHSA-cpj3-3r2f-xj59","BIT-openbao-2026-33758","CVE-2026-33758","GO-2026-4862"]},"retained":false,"historicalAffected":[]}],"coverage":[]}