CVE-2026-33758: Github.com/openbao/openbao Cross-Site Scripting Vulnerability
CRITICALCVE-2026-33758 is a CRITICAL cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Github.com/openbao/openbao libraries in the Go ecosystem. The issue involves openbao has reflected xss in its oidc authentication error message. Remediation is available by upgrading affected packages to version 0.0.0-20260325133417-6e2b2dd84f0e.
CVE-2026-33758 at a Glance
How to Fix CVE-2026-33758
To remediate this vulnerability, upgrade all affected Github.com/openbao/openbao dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openbao/openbao to 0.0.0-20260325133417-6e2b2dd84f0e
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openbao/openbao
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-33758, inspect your project dependencies for Github.com/openbao/openbao:
inspect dependencies for github.com/openbao/openbao
Analyze the terminal output to locate any version of Github.com/openbao/openbao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260325133417-6e2b2dd84f0e), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Github.com/openbao/openbao, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-33758 Affected Github.com/openbao/openbao Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openbao/openbao
|
Go |
< 0.0.0-20260325133417-6e2b2dd84f0e
|
0.0.0-20260325133417-6e2b2dd84f0e
|
References
Frequently Asked Questions
What is CVE-2026-33758?
Which Github.com/openbao/openbao versions are affected?
What version fixes CVE-2026-33758?
Is github.com/openbao/openbao affected?
What CWE is associated with CVE-2026-33758?
How can I check Go dependencies for CVE-2026-33758?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cpj3-3r2f-xj59",
"modified" : "2026-03-27T21:33:53Z",
"published" : "2026-03-26T18:37:09Z",
"aliases" : [ "CVE-2026-33758" ],
"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`.",
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openbao/openbao"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20260325133417-6e2b2dd84f0e"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-80" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T18:37:09Z",
"nvd_published_at" : "2026-03-27T15:16:57Z"
}
}