CVE-2024-28175Argoproj Argo Cd
Medium 5.4
Follow: this CVE · Argoproj · Argoproj Argo Cd We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Mar 13, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Due to the improper URL protocols filtering of links specified in the `link.argocd.argoproj.io` annotations in the application summary component, an attacker can achieve cross-site scripting with elevated permissions. All unpatched 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). This vulnerability allows an attacker to perform arbitrary actions on behalf of the victim via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in Argo CD versions v2.10.3 v2.9.8, and v2.8.12. There are no completely-safe workarounds besides upgrading. The safest alternative, if upgrading is not possible, would be to create a Kubernetes admission controller to reject any resources with an annotation starting with link.argocd.argoproj.io or reject the resource if the value use an improper URL protocol. This validation will need to be applied in all clusters managed by ArgoCD.
What to do
- Apply the vendor's security update for Argo Cd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/argoproj/argo-cd |
≥ 1.0.0 ≤ 1.8.7 |
no fixed version | — |
| Go | github.com/argoproj/argo-cd |
≥ 1.0.0 |
no fixed version | — |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.9.0 < 2.9.8 |
2.9.8 |
go get github.com/argoproj/argo-cd/v2@v2.9.8 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.10.0 < 2.10.3 |
2.10.3 |
go get github.com/argoproj/argo-cd/v2@v2.10.3 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.0.0 < 2.8.12 |
2.8.12 |
go get github.com/argoproj/argo-cd/v2@v2.8.12 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.0.0 < 2.8.12 |
2.8.12 |
go get github.com/argoproj/argo-cd/v2@v2.8.12 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.9.0 < 2.9.8 |
2.9.8 |
go get github.com/argoproj/argo-cd/v2@v2.9.8 |
| Go | github.com/argoproj/argo-cd/v2 |
≥ 2.10.0 < 2.10.3 |
2.10.3 |
go get github.com/argoproj/argo-cd/v2@v2.10.3 |
Per OSV / GitHub Advisories (GHSA-jwv5-8mqv-g387, GO-2024-2646). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| argoproj | argo_cd | ≥ 1.0.0 < 2.8.12 |
| argoproj | argo_cd | ≥ 2.9.0 < 2.9.8 |
| argoproj | argo_cd | ≥ 2.10.0 < 2.10.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory