CVE-2021-23347
lowpriority · track · 19EPSS 0.006 · 48 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–4.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-qq5v-f4c3-395cPossible XSS when using SSO with the CLI in github.com/argoproj/argo-cd/v22021-05-21ghsa · osvUS
### Impact When using SSO with the Argo CD CLI, a malicious SSO provider could have sent specially crafted error message that would result in XSS on the client by means of executing arbitrary JavaScript code. We believe the exploitation of this vulnerability is only be possible when Argo CD is connected to a compromised/malicious SSO provider. ### Patches A patch for this vulnerability is available with the v1.8.7 and v1.7.14 releases of Argo CD. ### Workarounds * Do not use SSO with the CLI when you don't trust your SSO provider If you have any questions or comments about this advisory: * Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions) * Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel `#argo-cd` ### Credits The issue was found during static code scanning with CodeQL and fixed by the Argo CD team. While we believed that a rogue SSO provider would pose a severe threat by itself, we fixed it like a regular bug. The Argo CD team would like to thank Adam Gold of Snyk (https://snyk.io) for stepping up and classifying this correctly as a security issue and for his help in determining its severity. Also, Snyk kindly reserved and provided the CVE for this vulnerability. We fully agree with Adam that this bug is a security vulnerability and justifies publishing a SA, to provide our community and users full transparancy.
- BIT-argo-cd-2021-233472024-03-06vendor · osvUS
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.
- GO-2022-0869Possible XSS when using SSO with the CLI in github.com/argoproj/argo-cd2024-08-21vendor · osvUS
Possible XSS when using SSO with the CLI in github.com/argoproj/argo-cd
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202103-244cnnvd
- EUVD-2021-1170enisa_euvd
- GHSA-qq5v-f4c3-395cenisa_euvd
- BIT-argo-cd-2021-23347osv
- GHSA-qq5v-f4c3-395cosv
- GO-2022-0869osv
- SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291osv
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/argoproj/argo-cd/pull/5563cnnvd
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291cnnvd
- https://github.com/argoproj/argo-cd/pull/5563enisa_euvd
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291enisa_euvd
- https://github.com/argoproj/argo-cd/pull/5563PatchThird Party Advisorynvd
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan