Critical severityNVD Advisory· Published May 29, 2025· Updated May 30, 2025
Argo CD allows cross-site scripting on repositories page
CVE-2025-47933
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/argoproj/argo-cdGo | >= 1.2.0-rc1, <= 1.8.7 | — |
github.com/argoproj/argo-cd/v2Go | >= 2.0.0-rc3, < 2.13.8 | 2.13.8 |
github.com/argoproj/argo-cd/v2Go | >= 2.14.0-rc1, < 2.14.13 | 2.14.13 |
github.com/argoproj/argo-cd/v3Go | < 3.0.4 | 3.0.4 |
Affected products
1Patches
11 file changed · +6 −1
ui/src/app/shared/components/urls.ts+6 −1 modified@@ -1,5 +1,6 @@ import {GitUrl} from 'git-url-parse'; import {isSHA} from './revision'; +import {isValidURL} from '../../shared/utils'; const GitUrlParse = require('git-url-parse'); @@ -19,7 +20,11 @@ export function repoUrl(url: string): string { return null; } - return `${protocol(parsed.protocol)}://${parsed.resource}/${parsed.owner}/${parsed.name}`; + const parsedUrl = `${protocol(parsed.protocol)}://${parsed.resource}/${parsed.owner}/${parsed.name}`; + if (!isValidURL(parsedUrl)) { + return null; + } + return parsedUrl; } catch { return null; }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- github.com/advisories/GHSA-2hj5-g64g-fp6pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-47933ghsaADVISORY
- github.com/argoproj/argo-cd/commit/a5b4041a79c54bc7b3d090805d070bcdb9a9e4d1ghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/security/advisories/GHSA-2hj5-g64g-fp6pghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.