cve.bz

CVE-2022-31035

5.4 mediumEPSS 1.0%

Medium (5.4) in argoproj argo cd. EPSS 1.0% chance of exploitation in the next 30 days. Fixed in github.com/argoproj/argo-cd 2.1.16.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
1.0% chance of exploitation in the next 30 days; higher than 62% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h4w9-6x78-8vrjGogithub.com/argoproj/argo-cd>=1.0.0 <2.1.162.1.16
GHSA-h4w9-6x78-8vrjGogithub.com/argoproj/argo-cd/v2<2.1.162.1.16
GHSA-h4w9-6x78-8vrjGogithub.com/argoproj/argo-cd/v2>=2.2.0 <2.2.102.2.10
GHSA-h4w9-6x78-8vrjGogithub.com/argoproj/argo-cd/v2>=2.3.0 <2.3.52.3.5
GHSA-h4w9-6x78-8vrjGogithub.com/argoproj/argo-cd/v2>=2.4.0 <2.4.12.4.1
GO-2022-0498Gogithub.com/argoproj/argo-cd>=1.0.0no fix published
GO-2022-0498Gogithub.com/argoproj/argo-cd/v2<2.1.16
>=2.2.0 <2.2.10
>=2.3.0 <2.3.5
>=2.4.0 <2.4.1
2.1.16, 2.2.10, 2.3.5, 2.4.1

References

Check your stackJSON