{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.9.0-rc1"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.9.0-rc2"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.9.0-rc3"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.9.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5283dd575efb880947e3973ea57e28cbc897b098"
            }
          ],
          "repo": "https://github.com/weaveworks/weave-gitops",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Weave GitOps Enterprise before 0.9.0-rc.5 has a cross-site scripting (XSS) bug allowing 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 permission. The exposure appears in Weave GitOps Enterprise UI via a GitopsCluster dashboard link. An annotation can be added to a GitopsCluster custom resource.",
  "id": "CVE-2022-38790",
  "modified": "2026-03-15T13:47:41.982481733Z",
  "published": "2022-09-01T13:15:09.070Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://docs.gitops.weave.works/docs/cluster-management/getting-started/#profiles-and-clusters"
    },
    {
      "type": "ADVISORY",
      "url": "https://docs.gitops.weave.works/docs/intro"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.weave.works/product/gitops-enterprise/"
    },
    {
      "type": "FIX",
      "url": "https://docs.gitops.weave.works/security/cve/enterprise/CVE-2022-38790/index.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}