Loading...
Skip to main content

CVE-2024-28175 — Vulnerability in github.com/argoproj/argo-cd —...

CRITICAL

Cross-site scripting on application summary component

Published March 15, 2024Updated August 7, 2026Source: osv

Summary

### Summary 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. ### Impact 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. ### Patches A patch for this vulnerability has been released in the following Argo CD versions: * v2.10.3 * v2.9.8 * v2.8.12 ### Workarounds There are no completely-safe workarounds besides **upgrading**. The safest alternative, if upgrading is not possible, would be to create a [Kubernetes admission controller](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/) 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. #### Mitigations 1. Avoid clicking external links presented in the UI. The link's title is user-configurable. So even if you hover the link, and the tooltip looks safe, the link might be malicious. The only way to be certain that the link is safe is to inspect the page's source. 2. Carefully limit who has permissions to edit Kubernetes resource manifests (this is configured in [RBAC](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/) for ArgoCD). The external-links are set as annotations on Kubernetes resources. Any persona with write access to resources managed by ArgoCD could be an actor. ### References [Documentation for the external links feature](https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/) ### Credits Disclosed by [RyotaK](https://ryotak.net) (@Ry0taK) ### For more information - Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or [discussions](https://github.com/argoproj/argo-cd/discussions) - Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd

Advisory Timeline

  • First published March 15, 2024 (941 days ago).
  • Last revised August 7, 2026 — 875 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/argoproj/argo-cd/v2 to 2.9.8 or later
go get github.com/argoproj/argo-cd/v2@v2.9.8
Go
Update github.com/argoproj/argo-cd/v2 to 2.8.12 or later
go get github.com/argoproj/argo-cd/v2@v2.8.12
Go
Update github.com/argoproj/argo-cd/v2 to 2.10.3 or later
go get github.com/argoproj/argo-cd/v2@v2.10.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (2).

PackageEcosystemAffectedFixed In
github.com/argoproj/argo-cd
go
All versionsRange-based data available
github.com/argoproj/argo-cd/v2
go
All versions2.9.8
github.com/argoproj/argo-cd/v2
go
All versions2.8.12
github.com/argoproj/argo-cd/v2
go
All versions2.10.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-28175?
Cross-site scripting on application summary component This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
How do I check if my project is affected by CVE-2024-28175?
CVE-2024-28175 affects github.com/argoproj/argo-cd and github.com/argoproj/argo-cd/v2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-28175 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-jwv5-8mqv-g387
BIT-argo-cd-2024-28175
GO-2024-2646

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies