Security mailing lists by PureSourceCode

CVE-2021-42648

MEDIUM 6.1CVSS 3.1

Cross site scripting in code-server

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

Published
11 May 2022
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-2gp3-6c9p-jp7w
Sources
NVDJSONOSV GHSA-2gp3-6c9p-jp7wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD coder code-server
cpe:2.3:a:coder:code-server:*:*:*:*:*:*:*:*
< 3.12.0 3.12.0
OSV npm code-server < 3.12.0 3.12.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 May 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.