LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31102: Cross-site Scripting for Argo CD single sign on users

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with 2.3.0 and prior to 2.3.6 and 2.4.5 is vulnerable to a cross-site scripting (XSS) bug which could allow an attacker to inject arbitrary JavaScript in the `/auth/callback` page in a victim's browser. This vulnerability only affects Argo CD instances which have single sign on (SSO) enabled. The exploit also assumes the attacker has 1) access to the API server's encryption key, 2) a method to add a cookie to the victim's browser, and 3) the ability to convince the victim to visit a malicious `/auth/callback` link. The vulnerability is classified as low severity because access to the API server's encryption key already grants a high level of access. Exploiting the XSS would allow the attacker to impersonate the victim, but would not grant any privileges which the attacker could not otherwise gain using the encryption key. A patch for this vulnerability has been released in the following Argo CD versions 2.4.5 and 2.3.6. There is currently no known workaround.

LowCVSS 2.6Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

This is a low-severity Argo CD XSS affecting only SSO-enabled deployments in specific 2.3.x and 2.4.x versions. Exploitation requires the attacker to already possess the API server encryption key, plant a browser cookie, and persuade a user to open a malicious callback link.

Executive priority

This is not a broad emergency based on supplied evidence, but affected SSO-enabled Argo CD systems should be upgraded. If the encryption key may be exposed, handle that as a higher-priority security incident.

Technical view

CVE-2022-31102 is CWE-79 in Argo CD's /auth/callback page. A successful attack could run attacker-controlled JavaScript in a victim's browser and impersonate that user, but the advisory notes the required encryption key already grants substantial access.

Likely exposure

Exposure is limited to argoproj argo-cd versions 2.3.0 through 2.3.5 and 2.4.0 through 2.4.4 with SSO enabled. Non-SSO deployments are not described as affected in the supplied sources.

Exploitation context

The supplied data does not show known active exploitation or KEV listing. Practical exploitation is constrained by high prerequisites: API server encryption key access, cookie placement in the victim browser, and user interaction with a malicious callback link.

Researcher notes

Key constraints matter: the XSS has high attack complexity, high required privileges, and user interaction. The advisory frames impact as limited incremental privilege because encryption key access already enables substantial control. No exploit status beyond non-KEV is provided.

Mitigation direction

  • Upgrade affected 2.3.x deployments to Argo CD 2.3.6 or later.
  • Upgrade affected 2.4.x deployments to Argo CD 2.4.5 or later.
  • If immediate upgrade is not possible, consult current Argo CD vendor guidance.
  • Treat suspected API server encryption key exposure as a broader credential incident.
  • Note that the advisory states there is no known workaround.

Validation and detection

  • Inventory Argo CD versions across clusters and environments.
  • Confirm whether SSO is enabled on each Argo CD instance.
  • Identify any deployments running 2.3.0-2.3.5 or 2.4.0-2.4.4.
  • Review access controls and exposure for Argo CD API/UI endpoints.
  • Investigate any evidence that API server encryption keys were exposed.
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-31102 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
Low
CVSS
2.6 (3.1)
Known Exploited
No
Published

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

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
2.6CVSS 3.1LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:L/A:N11.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

2.6Low
CVSS 3.1 vector shape for CVE-2022-31102Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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>= 2.3.0, < 2.3.6, >= 2.4.0, < 2.4.5Listed
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.