CVE-2021-23347: Cross-site Scripting (XSS)

Published Mar 3, 2021
·
Updated

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 or discussions Join us on 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.

Other sources

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 Software

6 affected componentsFixes available
go/github.com/argoproj/argo-cd/v2>=1.8.0<1.8.6
1.8.6
go/github.com/argoproj/argo-cd/v2<1.7.13
1.7.13
linuxfoundation Argo Continuous Delivery Kubernetes<1.7.13
linuxfoundation Argo Continuous Delivery Kubernetes>=1.8.0<1.8.6
argoproj Argo CD<1.7.13
argoproj Argo CD>=1.8.0<1.8.6

Event History

Mar 3, 2021
CVE Published
via MITRE·09:55 AM
Data Sourced
via MITRE·09:55 AM
DescriptionSeverityWeakness
May 21, 2021
Advisory Published
via GitHub·02:31 PM

Frequently Asked Questions

1

What is CVE-2021-23347?

CVE-2021-23347 is a vulnerability in the package github.com/argoproj/argo-cd/cmd version before 1.7.13 and from 1.8.0 to 1.8.6.

2

What is the severity of CVE-2021-23347?

The severity of CVE-2021-23347 is medium with a CVSS score of 4.8.

3

How does CVE-2021-23347 impact Linuxfoundation Argo Continuous Delivery?

Linuxfoundation Argo Continuous Delivery is affected by CVE-2021-23347 if the package version is before 1.7.13 or between 1.8.0 to 1.8.6.

4

What is Cross-site Scripting (XSS)?

Cross-site Scripting (XSS) is a type of web vulnerability where attackers inject malicious scripts into web pages viewed by other users.

5

Are there any references related to CVE-2021-23347?

Yes, you can refer to the following links for more information: [Reference 1](https://github.com/argoproj/argo-cd/pull/5563), [Reference 2](https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203