CVE-2022-31035 — Vulnerability in github.com/argoproj/argo-cd/v2 —...
Argo CD's external URLs for Deployments can include JavaScript
Summary
Advisory Timeline
- First published June 21, 2022 (1574 days ago).
- Last revised August 21, 2024 — 792 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/argoproj/argo-cd/v2@v2.4.1
go get github.com/argoproj/argo-cd/v2@v2.2.10
go get github.com/argoproj/argo-cd@v2.1.16
go get github.com/argoproj/argo-cd/v2@v2.1.16
go get github.com/argoproj/argo-cd/v2@v2.3.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: go (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/argoproj/argo-cd/v2 | go | 2.4.0 | 2.4.1 |
| github.com/argoproj/argo-cd/v2 | go | All versions | 2.2.10 |
| github.com/argoproj/argo-cd | go | All versions | 2.1.16 |
| github.com/argoproj/argo-cd/v2 | go | All versions | 2.1.16 |
| github.com/argoproj/argo-cd/v2 | go | All versions | 2.3.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31035ADVISORY
- https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038WEB
- https://argo-cd.readthedocs.io/en/stable/user-guide/external-urlWEB
- https://github.com/argoproj/argo-cdPACKAGE
Frequently Asked Questions
- What is CVE-2022-31035?
- Argo CD's external URLs for Deployments can include JavaScript 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-2022-31035?
- CVE-2022-31035 affects github.com/argoproj/argo-cd/v2 and github.com/argoproj/argo-cd. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31035 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2022-1025CRITICAL
Improper access control allows admin privilege escalation in Argo CD
- CVE-2025-47933CRITICAL
Argo CD allows cross-site scripting on repositories page
- CVE-2024-31989CRITICAL
ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache
- CVE-2023-40029CRITICAL
Argo CD cluster secret might leak in cluster details page
- CVE-2024-28175CRITICAL
Cross-site scripting on application summary component
- CVE-2022-29165CRITICAL
Argo CD will blindly trust JWT claims if anonymous access is enabled
- CVE-2024-21652CRITICAL
Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss
- CVE-2026-55797HIGH
Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies