{"id":"CVE-2026-33758","published":"2026-03-27T14:12:33Z","modified":"2026-07-15T01:06:07Z","title":"OpenBao has Reflected XSS in its OIDC authentication error message","vendor":"openbao","product":"openbao","tier":"tail","description":{"text":"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 `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. The `error_description` parameter has been replaced with a static error message in v2.5.2. The vulnerability can be mitigated by removing any roles with `callback_mode` set to `direct`.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00334,"percentile":0.27318,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openbao/openbao/pull/2709","tags":["x_refsource_MISC"]},{"url":"https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662","tags":["x_refsource_MISC"]},{"url":"https://github.com/openbao/openbao/releases/tag/v2.5.2","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33758","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452294","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33758.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":5.46},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"openbao","affectedVersions":[{"vendor":"openbao","product":"openbao","versions":["< 2.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-27T18:55:28.333530Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openbao/openbao","vulnerableRanges":["<0.0.0-20260325133417-6e2b2dd84f0e"],"patched":["0.0.0-20260325133417-6e2b2dd84f0e"],"from":["GHSA-cpj3-3r2f-xj59","GO-2026-4862"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-16626","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openbao-cve-2026-33757","children":[{"from":"CVE-2026-33758","to":"CVE-2026-33757","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openbao/openbao","fromFixed":"0.0.0-20260325133417-6e2b2dd84f0e","toFixed":"0.0.0-20260325142553-e32103951925","daysApart":0},{"kind":"same-code","provenance":"machine","files":["builtin/credential/jwt/html_responses.go","builtin/credential/jwt/path_oidc.go","website/content/api-docs/auth/jwt.mdx"],"commits":["https://github.com/openbao/openbao/commit/e32103951925723e9787e33886ab6b6ec20f4964","https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662"],"basis":"shared function","functions":["pathCallback","pathOIDC"]}]}],"packageHistory":[{"cve":"CVE-2025-62513","published":"2025-10-22","fixed":"0.0.0-20251022165510-cc2c476bac66","kev":false,"link":{"from":"CVE-2025-62513","to":"CVE-2026-33758","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openbao/openbao","fromFixed":"0.0.0-20251022165510-cc2c476bac66","toFixed":"0.0.0-20260325133417-6e2b2dd84f0e","daysApart":156}]}},{"cve":"CVE-2025-62705","published":"2025-10-22","fixed":"0.0.0-20251022165510-cc2c476bac66","kev":false},{"cve":"CVE-2026-33758","published":"2026-03-27","fixed":"0.0.0-20260325133417-6e2b2dd84f0e","kev":false},{"cve":"CVE-2026-33757","published":"2026-03-27","fixed":"0.0.0-20260325142553-e32103951925","kev":false},{"cve":"CVE-2026-39946","published":"2026-04-21","fixed":"0.0.0-20260420155735-b596b0882620","kev":false},{"cve":"CVE-2026-39388","published":"2026-04-21","fixed":"0.0.0-20260420160924-abe84e1af4c3","kev":false}],"package":"Go:github.com/openbao/openbao"}}