Loading advisory.
Loading advisory.
Argo CD allows cross-site scripting on repositories page
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.
Published 2025-05-28 17:36 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/argoproj/argo-cd | Go | >= 1.2.0-rc1, <= 1.8.7 >= 1.2.0-rc1 | No patch yet | No command until a fix exists. |
| github.com/argoproj/argo-cd/v2 | Go | >= 2.0.0-rc3, < 2.13.8 >= 2.14.0-rc1, < 2.14.13 | 2.13.8, 2.14.13 | go get github.com/argoproj/argo-cd/v2@v2.13.8go get github.com/argoproj/argo-cd/v2@v2.14.13 |
| github.com/argoproj/argo-cd/v3 | Go | < 3.0.4 | 3.0.4 | go get github.com/argoproj/argo-cd/v3@v3.0.4 |
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.
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.
There are no workarounds other than depending on the browser to filter the URL.
Disclosed by @Ry0taK RyotaK.
Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.006 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.006 | 0.005 | v2026.06.15 |
| 2026-11-30 | 0.006 | 0.006 | v2026.06.15 |