CVE-2023-32766 Gitpod vulnerable to Cross-site Scripting
An attacker can execute arbitrary scripts in the victim's browser via malicious redirection, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-32766?
CVE-2023-32766 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Gitpod before 2022.11.3 allows XSS because redirection can occur for some protocols outside of the trusted set of three (vscode: vscode-insiders: jetbrains-gateway:).
Weakness: CWE-79
Which versions are affected by CVE-2023-32766?
2 open source packages ship an affected version, including github.com/gitpod-io/gitpod. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/gitpod-io/gitpod Go | All versions | 2022.11.3 |
github.com/gitpod-io/gitpod Go | All versions | 2022.11.3 |
Products include Gitpod Gitpod.
How do I fix CVE-2023-32766?
Upgrade github.com/gitpod-io/gitpod to 2022.11.3 or later.
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-2023-32766 being exploited?
There is no known exploitation of CVE-2023-32766 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gqx9-h3w2-fprg.