CVE-2022-31035: External URLs for Deployments can include javascript in argo-cd
Vulnerability summary
CVE-2022-31035 is a critical (CVSS 9.0) vulnerability in argoproj argo_cd. EPSS estimates a 1.00% chance of exploitation in the next 30 days, higher than 64% of scored vulnerabilities.
Severe, CVSS 9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?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
1.00%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.99% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
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