CVE-2022-38790 Cross-site scripting in n/a
Attackers can inject malicious JavaScript via GitopsCluster annotations, leading to script execution in the victim's browser context.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-38790?
CVE-2022-38790 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2022-38790?
It affects 1 product.
Products include Weave.works Gitops.
How do I fix CVE-2022-38790?
No fix has been published for CVE-2022-38790 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-38790 being exploited?
There is no known exploitation of CVE-2022-38790 in the wild and no public exploit code.
Sources
Also known as GHSA-69f5-4grj-mqr7.