CVE-2022-31035
published critical CVSS 3.1 · 9.0External URLs for Deployments can include javascript in argo-cd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| argoproj | — | argo-cd>= 1.0.0, < 2.1.16 · >= 2.2.0, < 2.2.10 · >= 2.3.0, < 2.3.5 · >= 2.4.0, < 2.4.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| argoproj | argo-cd | >= 1.0.0, < 2.1.16 (affected)>= 2.2.0, < 2.2.10 (affected)>= 2.3.0, < 2.3.5 (affected)>= 2.4.0, < 2.4.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3GitHub_M · cna
External URLs for Deployments can include javascript in argo-cd
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b357bc42bedbdf6cd204131e4fc0e291bc5b17193beb8b79ad38243e423712b1
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record