CVE-2021-23347
Cross-site Scripting (XSS)
Also known as BIT-argo-cd-2021-23347, GHSA-qq5v-f4c3-395c, GO-2022-0869, SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291
Mitigation
- Upgrade github.com/argoproj/argo-cd/v2 to one of 1.7.13, 1.8.6 (or later in the same release line).
- Upgrade github.com/argoproj/argo-cd to one of 1.7.13, 1.8.6 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/argoproj/argo-cd/v2 (< 1.7.13)
- Projects that depend on Go package github.com/argoproj/argo-cd (< 1.7.13; >= 1.8.0, < 1.8.6)
- Anyone running github.com/argoproj/argo-cd/cmd >= unspecified, < 1.7.13; >= 1.8.0, < unspecified; >= unspecified, < 1.8.6
Vulnerability facts
- Affected
- github.com/argoproj/argo-cd/v2 < 1.7.13; github.com/argoproj/argo-cd < 1.7.13; >= 1.8.0, < 1.8.6
- Fixed in
- 1.7.13, 1.8.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
The package github.com/argoproj/argo-cd/cmd before 1.7.13, from 1.8.0 and before 1.8.6 are vulnerable to Cross-site Scripting (XSS) the SSO provider connected to Argo CD would have to send back a malicious error message containing JavaScript to the user.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/argoproj/argo-cd/v2 | < 1.7.13 | 1.7.13, 1.8.6 | osv |
| Go github.com/argoproj/argo-cd | < 1.7.13; >= 1.8.0, < 1.8.6 | 1.7.13, 1.8.6 | osv |
| github.com/argoproj/argo-cd/cmd | >= unspecified, < 1.7.13; >= 1.8.0, < unspecified; >= unspecified, < 1.8.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-23347. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-23347.md Affected: github.com/argoproj/argo-cd/v2 < 1.7.13; github.com/argoproj/argo-cd < 1.7.13; >= 1.8.0, < 1.8.6 Fixed in: 1.7.13, 1.8.6 Steps: 1. Search this machine and project for github.com/argoproj/argo-cd/v2 (Go), github.com/argoproj/argo-cd (Go), github.com/argoproj/argo-cd/cmd: 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.
References
Vendor advisories
FAQ
Is CVE-2021-23347 being exploited?
There is no confirmed exploitation: CVE-2021-23347 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-23347?
Medium: CVSS 4.7 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2021-23347?
github.com/argoproj/argo-cd/v2 < 1.7.13; github.com/argoproj/argo-cd < 1.7.13; >= 1.8.0, < 1.8.6.
Is there a fix for CVE-2021-23347?
Yes. Fixed in 1.7.13, 1.8.6. Upgrade github.com/argoproj/argo-cd/v2 to one of 1.7.13, 1.8.6 (or later in the same release line). Upgrade github.com/argoproj/argo-cd to one of 1.7.13, 1.8.6 (or later in the same release line).
How do I check if I'm affected by CVE-2021-23347?
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.