Cross-site Scripting for Argo CD single sign on users
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with 2.3.0 and prior to 2.3.6 and 2.4.5 is vulnerable to a cross-site scripting (XSS) bug which could allow an attacker to inject arbitrary JavaScript in the `/auth/callback` page in a victim's browser. This vulnerability only affects Argo CD instances which have single sign on (SSO) enabled. The exploit also assumes the attacker has 1) access to the API server's encryption key, 2) a method to add a cookie to the victim's browser, and 3) the ability to convince the victim to visit a malicious `/auth/callback` link. The vulnerability is classified as low severity because access to the API server's encryption key already grants a high level of access. Exploiting the XSS would allow the attacker to impersonate the victim, but would not grant any privileges which the attacker could not otherwise gain using the encryption key. A patch for this vulnerability has been released in the following Argo CD versions 2.4.5 and 2.3.6. There is currently no known workaround.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| argoproj | argo-cd | 2.3.0 to before 2.3.6; 2.4.0 to before 2.4.5 | 2.3.6, 2.4.5 | Patch available | CNA |
| — | github.com/argoproj/argo-cd (Go) | 2.3.0 to before 2.3.6 | 2.3.6 | Patch available | GHSA-pmjg-52h9-72qv |
| — | github.com/argoproj/argo-cd (Go) | 2.4.0 to before 2.4.5 | 2.4.5 | Patch available | GHSA-pmjg-52h9-72qv |
- argo-cd Vendorargoproj Affected 2.3.0 to before 2.3.6; 2.4.0 to before 2.4.5 Fixed in 2.3.6, 2.4.5 Patch available CNA
- github.com/argoproj/argo-cd (Go) Vendor— Affected 2.3.0 to before 2.3.6 Fixed in 2.3.6 Patch available GHSA-pmjg-52h9-72qv
- github.com/argoproj/argo-cd (Go) Vendor— Affected 2.4.0 to before 2.4.5 Fixed in 2.4.5 Patch available GHSA-pmjg-52h9-72qv
Remediation
- Fix · CNA argo-cd (argoproj) Fixed in 2.3.6, 2.4.5
- Fix · GHSA-pmjg-52h9-72qv github.com/argoproj/argo-cd (Go) Fixed in 2.3.6 Advisory →
- Fix · GHSA-pmjg-52h9-72qv github.com/argoproj/argo-cd (Go) Fixed in 2.4.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat OpenShift GitOps
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31102
- 2026-10-03 Alias added: GHSA-pmjg-52h9-72qv
- 2026-10-29 EPSS moved to the 50th–90th percentile
References
Advisory 4
More argoproj Argo Cd vulnerabilities
- TI-2024-14377 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss CVSS 3.1CRITICAL 9.8
- TI-2024-14383 Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow CVSS 3.1CRITICAL 9.1
- TI-2026-31086 ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction CVSS 3.1CRITICAL 9.6
- TI-2023-20919 Cluster secret might leak in cluster details page in Argo CD CVSS 3.1CRITICAL 9.9
- TI-2024-21088 ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache CVSS 3.1CRITICAL 9.1
- TI-2026-33475 Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation CVSS 3.1HIGH 8.7
Sources
- CVE-2022-31102 · CVE Program
- CVE-2022-31102 · NVD
- FIRST EPSS
- GHSA-pmjg-52h9-72qv · GitHub Advisory Database · CC BY 4.0
- CVE-2022-31102 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences