GO-2024-2646

Cross-site scripting on application summary component in github.com/argoproj/argo-cd/v2

At a glance

Published
Updated
CVE
CVE-2024-28175
Aliases
BIT-argo-cd-2024-28175, GHSA-jwv5-8mqv-g387

Description

Due to the improper URL protocols filtering of links specified in the link.argocd.argoproj.io annotations in the application summary component, an attacker can achieve cross-site scripting with elevated permissions. A malicious user to inject a javascript: link in the UI. When clicked by a victim user, the script will execute with the victim's permissions (up to and including admin). 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.

Affected packages

PackageVersions
Go · github.com/argoproj/argo-cdintroduced 1.0.0
Go · github.com/argoproj/argo-cd/v2introduced 2.0.0, fixed 2.8.12, introduced 2.9.0, fixed 2.9.8, introduced 2.10.0, fixed 2.10.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database