CVE-2022-31035: argoproj argo_cd Cross-site Scripting
Vulnerability summary
CVE-2022-31035 is a critical (CVSS 9.0) Cross-site Scripting vulnerability in argoproj argo_cd. EPSS estimates a 0.96% chance of exploitation in the next 30 days, higher than 61% of scored vulnerabilities.
Timeline
- 27-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated9.0CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.96%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
0.00 pp
From 0.96% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Argoproj2 products
Github.com/argoproj1 product
- argo-cd≥ 1.0.0, < 2.1.16 | ≥ 1.0.0 (No fix recorded)
Github.com/argoproj/argo-cd1 product
- v2< 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1
3 vendors · 4 products
References
6 links- github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrjX Refsource CONFIRMWEBAdvisoryMitigationThird Party Advisory
- github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/argoproj/argo-cdPACKAGE