CVE-2022-31035

External URLs for Deployments can include javascript in argo-cd

Published Jun 27, 2022 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6061 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.
Github GHSA Github GHSA GHSA-h4w9-6x78-8vrj Argo CD's external URLs for Deployments can include JavaScript
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Argoproj
Argoproj argo Cd
CPEs cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation argo-cd
Argoproj
Argoproj argo Cd
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 6:08 PM
Reserved
May 18, 2022, 12:00 AM
Status
Modified
Published
Jun 27, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:44 AM
Severity
Important
Public date
Jun 15, 2022, 12:00 AM