6.1

CVE-2021-42648: coder code-server Cross-site Scripting

CVSS: 6.1v3.1MediumModified
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) Cross-site Scripting vulnerability in coder code-server. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 58% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.87%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

58%

Versus all other CVEs

30-day change

+0.06 pp

From 0.81% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.87%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Code Server

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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