CVE-2022-39220
JSON

6.1medium

XSS Vulnerabilities in WebClient

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.70% (higher than 49% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cf7g-cm7q-rq7fGO-2022-1015

Description

SFTPGo is an SFTP server written in Go. Versions prior to 2.3.5 are subject to Cross-site scripting (XSS) vulnerabilities in the SFTPGo WebClient, allowing remote attackers to inject malicious code. This issue is patched in version 2.3.5. No known workarounds exist.

Affected

Product or packageVersionsReported by
drakkan sftpgo< 2.3.5CVE List
github.com/drakkan/sftpgo (Go)before 2.3.5, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/drakkan/sftpgo/v2 (Go)before 2.3.5Go Vulnerability Database
sftpgo_project sftpgobefore 2.3.5NVD

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

SFTPGo is an SFTP server written in Go. Versions prior to 2.3.5 are subject to Cross-site scripting (XSS) vulnerabilities in the SFTPGo WebClient, allowing remote attackers to inject malicious code. This issue is patched in version 2.3.5. No known workarounds exist.

GitHub Advisory Database
Impact

Cross-site scripting (XSS) vulnerabilities have been reported to affect SFTPGo WebClient. If exploited, this vulnerability allows remote attackers to inject malicious code.

Patches

Fixed in v2.3.5.

Go Vulnerability Database

SFTPGo WebClient vulnerable to Cross-site Scripting in github.com/drakkan/sftpgo

NVD (es)

SFTPGo es un servidor SFTP escrito en Go. Las versiones anteriores a 2.3.5, están sujetas a vulnerabilidades de tipo Cross-site scripting (XSS) en el SFTPGo WebClient, lo que permite a atacantes remotos inyectar código malicioso. Este problema ha sido corregido en versión 2.3.5. No se presentan mitigaciones conocidas

References

Sources

SourceRecordLicence
CVE ListCVE-2022-39220 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-cf7g-cm7q-rq7f changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-1015 changed 2026-03-03CC-BY-4.0
NVDCVE-2022-39220 changed 2026-06-17Public domain