# CVE-2022-31035: External URLs for Deployments can include javascript in argo-cd

- Priority: **Prioritise**
- Reason: Severe, CVSS 9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-06-27 · Modified: 2025-04-23
- Aliases: GHSA-h4w9-6x78-8vrj, GO-2022-0498
- Record: https://cvemate.com/vulnerability/CVE-2022-31035 · JSON: https://cvemate.com/vulnerability/CVE-2022-31035/json

## Description

```text
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.
```

## Signals

- CVSS: 9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 1.001%, percentile 64.003%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- argoproj argo\_cd: ≥ 1.0.0, \< 2.1.16 \| 2.2.9 \| 2.3.4 \| 2.4.0
- 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
- github.com/argoproj argo-cd (Go): ≥ 1.0.0, \< 2.1.16 \| ≥ 1.0.0 (No fix recorded)
- github.com/argoproj/argo-cd v2 (Go): \< 2.1.16 \| ≥ 2.2.0, \< 2.2.10 \| ≥ 2.3.0, \< 2.3.5 \| ≥ 2.4.0, \< 2.4.1

## References

- <https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj>
- <https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038>
- <https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31035>
- <https://argo-cd.readthedocs.io/en/stable/user-guide/external-url>
- <https://github.com/argoproj/argo-cd>

---

Data as of 2026-12-05T14:01:25.534Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
