An issue was discovered in Gitpod versions prior to release-2022.11.2.16. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted. This can lead to the extraction of data from workspaces, to a full takeover of the workspace.
https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/
https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2
https://github.com/gitpod-io/gitpod/pull/16405
https://github.com/gitpod-io/gitpod/pull/16378
https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f
https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f