CVE-2021-42648
6.1medium
Cross site scripting in code-server
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.87% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2gp3-6c9p-jp7w
Description
Cross-site scripting (XSS) vulnerability exists in Coder Code-Server before 3.12.0, allows attackers to execute arbitrary code via crafted URL.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| code-server (npm) | before 3.12.0 | GitHub Advisory Database |
| coder code-server | before 3.12.0 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
Cross-site scripting (XSS) vulnerability exists in Coder Code-Server before 3.12.0, allows attackers to execute arbitrary code via crafted URL.
NVD (es)
Se presenta una vulnerabilidad de tipo cross-site scripting (XSS) en Coder Code-Server versiones anteriores a 3.12.0, que permite a atacantes ejecutar código arbitrario por medio de una URL diseñada
References
| https://github.com/cdr/code-server/issues/4355 | exploit, issue-tracking, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42648 | advisory | |
| https://github.com/coder/code-server/pull/4430 | web | |
| https://github.com/coder/code-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42648 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2gp3-6c9p-jp7w changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-42648 changed 2026-06-17 | Public domain |