Security mailing lists by PureSourceCode

CVE-2022-31102

MEDIUM 6.1CVSS 3.1

Argo CD SSO users vulnerable to Cross-site Scripting

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.

Published
12 Jul 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-pmjg-52h9-72qvGO-2022-0517
Sources
NVDJSONOSV GHSA-pmjg-52h9-72qvJSONOSV GO-2022-0517JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.3.6 2.3.6
NVD argoproj argo_cd
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
>= 2.4.0, < 2.4.5 2.4.5
OSV Go github.com/argoproj/argo-cd >= 2.3.0, < 2.3.6 2.3.6
OSV Go github.com/argoproj/argo-cd >= 2.4.0, < 2.4.5 2.4.5
OSV Go github.com/argoproj/argo-cd all versions
OSV Go github.com/argoproj/argo-cd/v2 >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5 2.3.6, 2.4.5

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Jul 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.