LiveActive security incident?Get immediate response
CVE Record

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

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.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

Argo CD could display a deployment external URL that is actually a JavaScript link. If a victim clicks it, attacker-controlled script runs with that victim's Argo CD permissions, potentially including admin-level Kubernetes changes. Because Argo CD often controls production delivery, affected deployments need prompt upgrade.

Executive priority

Handle as urgent for environments where Argo CD manages important clusters. The bug requires a click, but a successful attack can inherit admin permissions and modify or delete Kubernetes resources. Upgrade is the only completely safe remediation named in the sources.

Technical view

CVE-2022-31035 is a CWE-79 XSS in Argo CD external URL handling. A malicious authenticated user can inject a javascript: URL into the UI. Exploitation requires user interaction, but the script executes in the victim session and may perform UI or API actions with victim privileges. Fixed versions are 2.4.1, 2.3.5, 2.2.10, and 2.1.16.

Likely exposure

Exposure is likely where Argo CD versions from 1.0.0 up to the fixed release lines are deployed and untrusted or lower-privileged users can influence deployment external URLs. Internet exposure increases phishing and click risk, but the core issue is authenticated UI trust boundary failure.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. The advisory describes a low-complexity attack requiring a victim click. Impact is high because successful execution uses the victim's permissions, up to admin, and may affect Kubernetes resources managed by Argo CD.

Researcher notes

The advisory scope is Argo CD external URL rendering, not a general unauthenticated takeover. PR:L and UI:R matter for likelihood, while scope changed and high CIA impact drive severity. Evidence in the bundle supports patch versions and lack of completely safe workarounds, but not active exploitation.

Mitigation direction

  • Upgrade Argo CD to 2.4.1, 2.3.5, 2.2.10, 2.1.16, or later.
  • Prioritize upgrades for Argo CD instances managing production or shared Kubernetes clusters.
  • Treat access restriction and monitoring as temporary controls, not complete workarounds.
  • Review and remove suspicious external URLs from Argo CD deployment metadata.
  • Follow the Argo CD security advisory for any version-specific guidance.

Validation and detection

  • Inventory all Argo CD instances and record exact server versions.
  • Compare versions against the affected ranges listed in the advisory.
  • Review applications or deployment metadata using external URLs for unsafe schemes.
  • Check Argo CD audit logs for unexpected external URL changes.
  • Confirm upgraded instances are running a fixed or later release.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31035 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H2.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9Critical
CVSS 3.1 vector shape for CVE-2022-31035Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
argoprojargo-cd>= 1.0.0, < 2.1.16, >= 2.2.0, < 2.2.10, >= 2.3.0, < 2.3.5, >= 2.4.0, < 2.4.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.