Cross-site scripting on application summary component in argo-cd (argoproj argo-cd)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.65 % Β· percentile 51 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-jwv5-8mqv-g387 β Cross-site scripting on application summary component
- GO-2024-2646 β Cross-site scripting on application summary component in github.com/argoproj/argo-cd/v2
European references
- ENISA EUVD Β· EUVD-2024-0955
- GCVE Β· GCVE-0-2024-28175
Affected configurations (NVD CPE)
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 1.0.0 < 2.8.12cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 2.9.0 < 2.9.8cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*β₯ 2.10.0 < 2.10.3
Affected products
| Product | Versions |
|---|---|
| argoproj Β· argo-cd | affected >= 1.0.0, < 2.8.12 ; affected >= 2.9.0, < 2.9.8 ; affected >= 2.10.0, < 2.10.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |