GO-2024-2646

Source
https://pkg.go.dev/vuln/GO-2024-2646
Import Source
https://vuln.go.dev/ID/GO-2024-2646.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2646
Aliases
Published
2024-03-22T18:45:33Z
Modified
2024-05-20T16:03:47Z
Summary
Cross-site scripting on application summary component in github.com/argoproj/argo-cd/v2
Details

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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-2646"
}
References
Credits
    • @Ry0taK, @agaudreault, and @crenshaw-dev

Affected packages

Go / github.com/argoproj/argo-cd

Package

Name
github.com/argoproj/argo-cd
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/argo-cd

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0

Go / github.com/argoproj/argo-cd/v2

Package

Name
github.com/argoproj/argo-cd/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/argo-cd/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.8.12
Introduced
2.9.0
Fixed
2.9.8
Introduced
2.10.0
Fixed
2.10.3