Description
Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes. Exploiting this vulnerability can allow an adversary in specific scenarios to access data from and connect to the code-server instance.
Remediation
References
https://github.com/coder/code-server/commit/d477972c68fc8c8e8d610aa7287db87ba90e55c7
https://github.com/coder/code-server/releases/tag/v4.10.1
https://security.snyk.io/vuln/SNYK-JS-CODESERVER-3368148
Related Vulnerabilities
CVE-2020-11987 Vulnerability in maven package org.apache.xmlgraphics:batik-svgbrowser
CVE-2018-19048 Vulnerability in npm package simditor
CVE-2022-22912 Vulnerability in npm package plist
CVE-2019-10788 Vulnerability in npm package im-metadata
CVE-2020-36632 Vulnerability in maven package org.webjars.npm:flat