6.1

CVE-2021-42648: coder code-server

Modified
AliasesCGA-572x-2w4h-cwg4CGA-9f96-wg62-vhh5CGA-hgjx-qpmc-h7cp
Published 11-05-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-42648 is a medium (CVSS 6.1) vulnerability in coder code-server. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 60% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.87%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 11-05-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Cross-site scripting (XSS) vulnerability exists in Coder Code-Server before 3.12.0, allows attackers to execute arbitrary code via crafted URL.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.87%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.87% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Code Server

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
Wolfi2 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
Coder1 product
Npm1 product
  • code-server< 3.12.0

4 vendors · 6 products

References

4 links