{"schemaVersion":3,"id":"CVE-2026-33758","aliases":["GHSA-cpj3-3r2f-xj59","BIT-openbao-2026-33758","GO-2026-4862"],"status":"published","duplicateOf":null,"title":"OpenBao has Reflected XSS in its OIDC authentication error message","description":"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`.","dates":{"published":"2026-03-27T14:12:33.941Z","modified":"2026-07-15T01:06:07.192Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.4,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00449,"percentile":0.3803,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.16199999999999998,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00287},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00449,"percentile":0.3803}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00449,"percentile":0.3803}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"github.com/openbao","product":"openbao","name":"github.com/openbao/openbao","label":"openbao","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/openbao/openbao","purlType":"golang","versions":[{"text":"< 0.0.0-20260325133417-6e2b2dd84f0e","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.0-20260325133417-6e2b2dd84f0e","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openbao","label":"OpenBao","category":"server-app"}},"hubHref":null},{"vendor":"openbao","product":"openbao","name":"openbao","label":"openbao","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openbao","label":"OpenBao","category":"server-app"}},"hubHref":"/vendor/openbao/openbao"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59","label":"github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/openbao/openbao/pull/2709","label":"github.com/openbao/openbao/pull/2709","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662","label":"github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/openbao/openbao/releases/tag/v2.5.2","label":"github.com/openbao/openbao/releases/tag/v2.5.2","hostname":"github.com","tags":["X Refsource MISC","WEB","Product","Release Notes"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33758","label":"access.redhat.com/security/cve/CVE-2026-33758","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452294","label":"bugzilla.redhat.com/show_bug.cgi?id=2452294","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33758.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33758.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33758","label":"nvd.nist.gov/vuln/detail/CVE-2026-33758","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/openbao/openbao","label":"github.com/openbao/openbao","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10438-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:1135-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10438-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:1135-1"]},"timeline":[{"kind":"published","date":"2026-03-27T14:12:33.941Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:06:07.192Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:58:40.986Z","stale":false,"partial":false}}