CVE-2022-39220
MEDIUM 6.1CVSS 3.1SFTPGo WebClient vulnerable to Cross-site Scripting
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.
- Published
- 20 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-cf7g-cm7q-rq7fGO-2022-1015
- Sources
- NVDJSONOSV GHSA-cf7g-cm7q-rq7fJSONOSV GO-2022-1015JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | 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 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sftpgo_project | sftpgocpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:* |
< 2.3.5 | 2.3.5 |
| OSV | Go | github.com/drakkan/sftpgo | < 2.3.5 | 2.3.5 |
| OSV | Go | github.com/drakkan/sftpgo | all versions | |
| OSV | Go | github.com/drakkan/sftpgo/v2 | < 2.3.5 | 2.3.5 |
References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-39220 · ADVISORY
- https://github.com/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0 · WEB, FIX
- https://github.com/drakkan/sftpgo · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 20 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Sep 2022)