# CVE-2019-3876: Withdrawn Advisory: OpenShift OAuth Server XSS Vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **CWE:** CWE-352
- **Aliases:** GHSA-jgwg-35hf-xqrr
- **Published:** 2019-04-01T14:15:42.000Z
- **Modified:** 2026-09-10T03:49:34.112Z

## Who should check

- Projects that depend on Go package github.com/openshift/oauth-apiserver (\>= 3.0, \< 3.11)
- Anyone running Red Hat web-console affects OpenShift Container Platform version v3.0 through v3.11

## Description

A flaw was found in the /oauth/token/request custom endpoint of the OpenShift OAuth server allowing for XSS generation of CLI tokens due to missing X-Frame-Options and CSRF protections. If not otherwise prevented, a separate XSS vulnerability via JavaScript could further allow for the extraction of these tokens.

## Affected and fixed versions

- Go `github.com/openshift/oauth-apiserver`: affected \>= 3.0, \< 3.11; fixed 3.11 (osv)
- Red Hat web-console: affects OpenShift Container Platform version v3.0 through v3.11 (cvelist)

## Mitigation

- Upgrade github.com/openshift/oauth-apiserver to 3.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-3876. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-3876.md
Affected: github.com/openshift/oauth-apiserver >= 3.0, < 3.11
Fixed in: 3.11

Steps:
1. Search this machine and project for github.com/openshift/oauth-apiserver (Go), Red Hat web-console: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-3876 being exploited?

There is no confirmed exploitation: CVE-2019-3876 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-3876?

Medium: CVSS 5.0 (v3.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2019-3876?

github.com/openshift/oauth-apiserver \>= 3.0, \< 3.11.

### Is there a fix for CVE-2019-3876?

Yes. Fixed in 3.11. Upgrade github.com/openshift/oauth-apiserver to 3.11 or later.

### How do I check if I'm affected by CVE-2019-3876?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2019:1851>
- vendor: <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3876>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2019-3876>
- other: <http://www.securityfocus.com/bid/107664>
- other: <https://access.redhat.com/security/cve/CVE-2019-3876>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=1691107>
- other: <https://web.archive.org/web/20210126211309/http://www.securityfocus.com/bid/107664>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-3876>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jgwg-35hf-xqrr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2019-3876> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-3876>
