CVEvulnerability
CVE-2022-31035
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-06-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-79
Description
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.
Affected configurations
• argoproj argo cd (>= 1.0.0 < 2.1.16)
• argoproj argo cd 2.2.9
• argoproj argo cd 2.3.4
• argoproj argo cd 2.4.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ Vendor Advisory
- https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 Patch, Third Party Advisory
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj Mitigation, Third Party Advisory
- https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ Vendor Advisory
- https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 Patch, Third Party Advisory
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj Mitigation, Third Party Advisory