Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd
  4. ›
  5. CVE-2026-45738

CVE-2026-45738: Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation

May 19, 2026

A user with application write access (developer role) can set link.argocd.argoproj.io/* annotations on any ArgoCD Application. These annotation values are rendered in the Summary tab’s URLs section as <a href> elements without URL validation. Using the pipe-separator trick (Display Text | javascript:...), an attacker can inject a javascript: URI while displaying a legitimate-looking label (e.g. GitHub Repo). When a higher-privileged user (admin) clicks the link, arbitrary JavaScript executes in the ArgoCD origin context in the admin’s authenticated session context, enabling API exfiltration and privilege escalation from developer to admin.

References

  • github.com/advisories/GHSA-h98r-wv3h-fr38
  • github.com/argoproj/argo-cd/security/advisories/GHSA-h98r-wv3h-fr38
  • nvd.nist.gov/vuln/detail/CVE-2026-45738

Code Behaviors & Features

Detect and mitigate CVE-2026-45738 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.8.7

Solution

Unfortunately, there is no solution available yet.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/argoproj/argo-cd/CVE-2026-45738.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:52 +0000.