Vulnerability · Published May 11, 2022 · Assigned by mitre
CVE-2021-42648
Medium 6.1
In plain English
A medium-severity security flaw in the code-server package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.9%top 41.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | code-server | 3.12.0 | GHSA-2gp3-6c9p-jp7w |
Affected products (as reported)
References
- https://github.com/cdr/code-server/issues/4355 x_refsource_MISC