CVE-2022-31035 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ | CVE | Vendor Advisory |
| https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 | CVE | PatchThird Party Advisory |
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj | CVE | MitigationThird Party Advisory |
| https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ | [email protected] | Vendor Advisory |
| https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 | [email protected] | PatchThird Party Advisory |
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj | [email protected] | MitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| argoproj argo cd | >= 1.0.0, < 2.1.16 2.2.9 2.3.4 2.4.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 7, 2024 | CPE Deprecation Remap | [email protected] |
| Aug 7, 2024 | CPE Deprecation Remap | [email protected] |
| Aug 7, 2024 | CPE Deprecation Remap | [email protected] |
| Aug 7, 2024 | CPE Deprecation Remap | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 7, 2022 | Initial Analysis | [email protected] |