CVE-2022-38790
Description
Cross-site scripting in Weave GitOps Enterprise before 0.9.0-rc.5 allows injection of javascript: links via GitopsCluster dashboard link annotation.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cross-site scripting in Weave GitOps Enterprise before 0.9.0-rc.5 allows injection of javascript: links via GitopsCluster dashboard link annotation.
Vulnerability
Weave GitOps Enterprise before version 0.9.0-rc.5 contains a cross-site scripting (XSS) vulnerability. The bug resides in the UI, where a malicious user can inject a javascript: link via an annotation on a GitopsCluster custom resource. This annotation is used for a dashboard link. Affected versions are all prior to 0.9.0-rc.5.
Exploitation
An attacker must have the ability to add an annotation to a GitopsCluster custom resource. By setting the annotation to a javascript: URI, when a victim user clicks on the link in the UI, the script executes with the victim's permissions. No additional privileges or user interaction beyond clicking the link is required.
Impact
Successful exploitation results in arbitrary JavaScript execution in the victim's browser session. This can lead to data theft, session hijacking, or other client-side attacks, compromising the confidentiality and integrity of the victim's data within the Weave GitOps Enterprise UI.
Mitigation
The issue is fixed in Weave GitOps Enterprise version 0.9.0-rc.5. Users should upgrade to this version or later. If upgrading is not immediately possible, restrict access to modify GitopsCluster resources to trusted users only.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: <0.9.0-rc.5
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- docs.gitops.weave.works/docs/cluster-management/getting-started/mitrex_refsource_MISC
- docs.gitops.weave.works/docs/intromitrex_refsource_MISC
- docs.gitops.weave.works/security/cve/enterprise/CVE-2022-38790/index.htmlmitrex_refsource_MISC
- www.weave.works/product/gitops-enterprise/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.