Loading...
Skip to main content

CVE-2025-47933 — Vulnerability in github.com/argoproj/argo-cd/v2 —...

CRITICAL

Argo CD allows cross-site scripting on repositories page

Published May 28, 2025Updated September 10, 2026Source: osv

Summary

### Impact This vulnerability allows an attacker to perform arbitrary actions on behalf of the victim via the API, such as creating, modifying, and deleting Kubernetes resources. Due to the improper filtering of URL protocols in the repository page, an attacker can achieve cross-site scripting with permission to edit the repository. In `ui/src/app/shared/components/urls.ts`, the following code exists to parse the repository URL. https://github.com/argoproj/argo-cd/blob/0ae5882d5ae9fe88efc51f65ca8543fb8c3a0aa1/ui/src/app/shared/components/urls.ts#L14-L26 Since this code doesn't validate the protocol of repository URLs, it's possible to inject `javascript:` URLs here. https://github.com/argoproj/argo-cd/blob/0ae5882d5ae9fe88efc51f65ca8543fb8c3a0aa1/ui/src/app/shared/components/repo.tsx#L5-L7 As the return value of this function is used in the `href` attribute of the `a` tag, it's possible to achieve cross-site scripting by using `javascript:` URLs. Browsers may return the proper hostname for `javascript:` URLs, allowing exploitation of this vulnerability. ### Patches A patch for this vulnerability has been released in the following Argo CD versions: - v3.0.4 - v2.14.13 - v2.13.8 The patch incorporates a way to validate the URL being passed in. Returning `null` if the validation fails. ### Workarounds There are no workarounds other than depending on the browser to filter the URL. ### Credits Disclosed by @Ry0taK [RyotaK](https://ryotak.net). ### For more information Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions) Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd

Advisory Timeline

  • First published May 28, 2025 (502 days ago).
  • Last revised September 10, 2026 — 469 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/argoproj/argo-cd/v2 to 2.14.13 or later
go get github.com/argoproj/argo-cd/v2@v2.14.13
Go
Update github.com/argoproj/argo-cd/v3 to 3.0.4 or later
go get github.com/argoproj/argo-cd/v3@v3.0.4
Go
Update github.com/argoproj/argo-cd/v2 to 2.13.8 or later
go get github.com/argoproj/argo-cd/v2@v2.13.8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (3).

PackageEcosystemAffectedFixed In
github.com/argoproj/argo-cd/v2
go
All versions2.14.13
github.com/argoproj/argo-cd
go
All versionsRange-based data available
github.com/argoproj/argo-cd/v3
go
All versions3.0.4
github.com/argoproj/argo-cd/v2
go
All versions2.13.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2025-47933?
Argo CD allows cross-site scripting on repositories page This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
How do I check if my project is affected by CVE-2025-47933?
CVE-2025-47933 affects github.com/argoproj/argo-cd/v2, github.com/argoproj/argo-cd and github.com/argoproj/argo-cd/v3. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-47933 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-2hj5-g64g-fp6p
BIT-argo-cd-2025-47933
GO-2025-3720

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies