9.1critical
Argo CD allows cross-site scripting on repositories page
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2hj5-g64g-fp6pBIT-ARGO-CD-2025-47933GO-2025-3720
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| argoproj argo-cd | >= 1.2.0-rc1, <= 1.8.7, >= 2.0.0-rc3, < 2.13.8, >= 2.14.0-rc1, < 2.14.13, >= 3.0.0-rc1, < 3.0.4 | CVE List |
| github.com/argoproj/argo-cd (Go) | from 1.2.0-rc1 up to 1.8.7, from 1.2.0-rc1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/argoproj/argo-cd/v2 (Go) | from 2.0.0-rc3 before 2.13.8, from 2.14.0-rc1 before 2.14.13 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/argoproj/argo-cd/v3 (Go) | before 3.0.4 | GitHub Advisory Database, Go Vulnerability Database |
| argoproj argo_cd | from 1.2.1 before 2.13.8, from 2.14.0 before 2.14.13, from 3.0.0 before 3.0.4, 1.2.0 | NVD |
| argo-cd (Bitnami) | from 1.2.0 before 2.13.8, from 2.14.0 before 2.14.13, from 3.0.0 before 3.0.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Since this code doesn't validate the protocol of repository URLs, it's possible to inject javascript: URLs here.
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.
For more information
Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd
Go Vulnerability Database
Argo CD allows cross-site scripting on repositories page in github.com/argoproj/argo-cd
NVD (es)
Argo CD es una herramienta declarativa de entrega continua de GitOps para Kubernetes. En versiones anteriores a las 2.13.8, 2.14.13 y 3.0.4, un atacante podía realizar acciones arbitrarias en nombre de la víctima a través de la API. Debido al filtrado incorrecto de los protocolos de URL en la página del repositorio, un atacante puede realizar ataques de cross-site scripting con permiso para editar el repositorio. Este problema se ha corregido en las versiones 2.13.8, 2.14.13 y 3.0.4.
References
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-2hj5-g64g-fp6p | advisory, patch, third-party-advisory, web | |
| https://github.com/argoproj/argo-cd/commit/a5b4041a79c54bc7b3d090805d070bcdb9a9e4d1 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-47933 | advisory, web | |
| https://github.com/argoproj/argo-cd | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47933 changed 2025-05-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2hj5-g64g-fp6p changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3720 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-47933 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ARGO-CD-2025-47933 changed 2026-09-10 | Apache-2.0 |