Live threats

All CVEs / Sftpgo Project

CVE-2022-39220Sftpgo Project Sftpgo

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Sep 20, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sftpgo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/drakkan/sftpgo < 2.3.5 2.3.5 go get github.com/drakkan/sftpgo@v2.3.5
Go github.com/drakkan/sftpgo all no fixed version —
Go github.com/drakkan/sftpgo/v2 < 2.3.5 2.3.5 go get github.com/drakkan/sftpgo/v2@v2.3.5

Per OSV / GitHub Advisories (GHSA-cf7g-cm7q-rq7f, GO-2022-1015). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sftpgo_projectsftpgo< 2.3.5

Official sources

References

Links published by the sources. Open them with care.