External URLs for Deployments can include javascript in argo-cd
argoproj argo-cd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd Go |
|
|
| github.com/argoproj/argo-cd/v2 Go |
|
argoproj argo-cd
| Product | Affected | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd Go |
|
|
| github.com/argoproj/argo-cd/v2 Go |
|
≥ 2.4.0 · < 2.4.1
|
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v1.0.0 are vulnerable to a cross-site scripting (XSS) bug allowing a malicious user to inject a `javascript:` link in the UI. When clicked by a victim user, the script will execute with the victim's permissions (up to and including admin). The script would be capable of doing anything which is possible in the UI or via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no completely-safe workarounds besides upgrading.
From the CVE record · GitHub_M
Argo CD allows a malicious user to inject a `javascript:` link into the UI. If another user clicks it, the script runs with that user's permissions, potentially including admin access, and can perform actions available through the UI or API.
Teams running Argo CD from v1.0.0, including affected Go packages github.com/argoproj/argo-cd and github.com/argoproj/argo-cd/v2, should check their installed version.