SecurityContext

CVE-2024-28175: Argo CD - Stored XSS

  • Cve: CVE-2024-28175
  • Name: Argo CD - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser with elevated permissions, potentially leading to account compromise or malicious actions.
  • Remediation: Upgrade to versions v2.10.3, v2.9.8, or v2.8.12 where the vulnerability is fixed.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to inject malicious annotation in application resource
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00654
  • Epss percentile: 0.523
  • Assignee: [email protected]
  • Published at: 2024-03-13T21:16:00Z
  • Age in days: 986
  • Modified at: 2026-06-17T07:21:08Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28175
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71nvdPatch
https://github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
argoproj:argo_cd>= 2.10.0, < 2.10.3; >= 2.9.0, < 2.9.8; >= 1.0.0, < 2.8.12nonvd/v1/products/argoproj/argo_cd

Projects

RepositoryLink kindsIndexedUrl
argoproj/argo-cdcommit, fix, package, security_advisoryyes/v1/repositories/argoproj/argo-cd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 9463
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since