{"id":"CVE-2025-47933","aliases":["CVE-2025-47933","GHSA-2hj5-g64g-fp6p","BIT-ARGO-CD-2025-47933","GO-2025-3720"],"related":["CGA-gpq9-5r8v-rchc"],"kind":"vulnerability","state":"published","title":"Argo CD allows cross-site scripting on repositories page","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThis 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.\n\nIn `ui/src/app/shared/components/urls.ts`, the following code exists to parse the repository URL.\n\nhttps://github.com/argoproj/argo-cd/blob/0ae5882d5ae9fe88efc51f65ca8543fb8c3a0aa1/ui/src/app/shared/components/urls.ts#L14-L26\n\nSince this code doesn't validate the protocol of repository URLs, it's possible to inject `javascript:` URLs here.\n\nhttps://github.com/argoproj/argo-cd/blob/0ae5882d5ae9fe88efc51f65ca8543fb8c3a0aa1/ui/src/app/shared/components/repo.tsx#L5-L7\n\nAs 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.\n\nBrowsers may return the proper hostname for `javascript:` URLs, allowing exploitation of this vulnerability.\n\n### Patches\nA patch for this vulnerability has been released in the following Argo CD versions:\n- v3.0.4\n- v2.14.13\n- v2.13.8\n\n\nThe patch incorporates a way to validate the URL being passed in. Returning `null` if the validation fails.\n\n### Workarounds\nThere are no workarounds other than depending on the browser to filter the URL. \n\n### Credits\nDisclosed by @Ry0taK [RyotaK](https://ryotak.net). \n\n### For more information\nOpen an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\nJoin us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo CD allows cross-site scripting on repositories page in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-05-28T17:36:32.000Z","modified":"2026-09-10T16:01:10.407Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 1.2.0-rc1, <= 1.8.7","status":"affected"},{"version":">= 2.0.0-rc3, < 2.13.8","status":"affected"},{"version":">= 2.14.0-rc1, < 2.14.13","status":"affected"},{"version":">= 3.0.0-rc1, < 3.0.4","status":"affected"}],"vendor":"argoproj","product":"argo-cd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.2.0-rc1","status":"affected","lastAffected":"1.8.7"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc3","status":"affected","fixed":"2.13.8"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.14.0-rc1","status":"affected","fixed":"2.14.13"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.4"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.2.0-rc1","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"go"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc3","status":"affected","fixed":"2.13.8"},{"type":"semver","introduced":"2.14.0-rc1","status":"affected","fixed":"2.14.13"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.4"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"go"},{"ranges":[{"status":"affected","introduced":"1.2.1","fixed":"2.13.8"},{"status":"affected","introduced":"2.14.0","fixed":"2.14.13"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.4"},{"status":"affected","version":"1.2.0"},{"status":"affected","version":"1.2.0"}],"vendor":"argoproj","product":"argo_cd","cpe":"cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected","fixed":"2.13.8"},{"type":"semver","introduced":"2.14.0","status":"affected","fixed":"2.14.13"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.4"}],"ecosystem":"Bitnami","package":"argo-cd","purl":"pkg:bitnami/argo-cd","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-2hj5-g64g-fp6p","tags":["advisory","patch","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/commit/a5b4041a79c54bc7b3d090805d070bcdb9a9e4d1","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47933","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/argoproj/argo-cd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-30T12:34:55.697Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47933","url":"https://www.cve.org/CVERecord?id=CVE-2025-47933","licence":"CVE Terms of Use","modified":"2025-05-30T12:35:04.233Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2hj5-g64g-fp6p","url":"https://github.com/advisories/GHSA-2hj5-g64g-fp6p","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:36.554Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3720","url":"https://pkg.go.dev/vuln/GO-2025-3720","licence":"CC-BY-4.0","modified":"2026-02-04T02:51:08.984Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47933","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47933","licence":"Public domain","modified":"2026-06-17T09:28:51.470Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-CD-2025-47933","url":"https://osv.dev/vulnerability/BIT-ARGO-CD-2025-47933","licence":"Apache-2.0","modified":"2026-09-10T16:01:10.407Z"}],"updatedAt":"2026-11-25T22:58:58.565Z","epss":{"score":0.00495,"percentile":0.44074,"date":"2026-12-01T12:00:22.000Z"}}