Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Prior to versions 2.13.8, 2.14.13, and 3.0.4, an attacker can perform arbitrary actions on behalf of the victim via the API. 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. This issue has been patched in versions 2.13.8, 2.14.13, and 3.0.4.
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Prior to versions 2.13.8, 2.14.13, and 3.0.4, an attacker can perform arbitrary actions on behalf of the victim via the API. 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. This issue has been patched in versions 2.13.8, 2.14.13, and 3.0.4.
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Prior to versions 2.13.8, 2.14.13, and 3.0.4, an attacker can perform arbitrary actions on behalf of the victim via the API. 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. This issue has been patched in versions 2.13.8, 2.14.13, and 3.0.4.
### 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
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: May 29, 2025, 7:30:39 PM
dateUpdated: May 30, 2025, 12:35:04 PM
6 related source bulletins · separate from aliases
RHSA-2025:8278: Red Hat Security Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.16.1 security update
CVE-2025-47933
RHSA-2025:8277: Red Hat Security Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.15.3 security update
CVE-2025-47933
WID-SEC-W-2025-1164: Red Hat OpenShift GitOps: Schwachstelle ermöglicht Cross-Site Scripting
CVE-2025-47933
openSUSE-SU-2025:15188-1: govulncheck-vulndb-0.0.20250529T205903-1.1 on GA media
CVE-2025-4057 · CVE-2025-47933 · CVE-2025-47952
RHSA-2025:8274: Red Hat Security Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.14.4 security update
RHSA-2025:8269: Red Hat Security Advisory: Red Hat OpenShift GitOps 1.16.1 security release
CVE-2025-47933
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-79
Original publisher date fields
published: 2025-05-29T20:15:27.473
lastModified: 2026-06-17T09:28:51.470
3 source CPE criteria · context only
cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:1.2.0:rc1:*:*:*:*:*:*
cpe:2.3:a:argoproj:argo_cd:1.2.0:rc2:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.