CVE-2022-39220 json
XSS Vulnerabilities in WebClient
published 2022-09-20 4 y ago modified 2026-06-17 4 mo ago also GHSA-cf7g-cm7q-rq7f , GO-2022-1015 , EUVD-2022-6779
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/drakkan/sftpgo 2.3.5
- go github.com/drakkan/sftpgo/v2 2.3.5
- sftpgo_project sftpgo 2.3.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/drakkan/sftpgo | <2.3.5 all versions |
2.3.5 |
| go | github.com/drakkan/sftpgo/v2 | <2.3.5 |
2.3.5 |
Affected products
- drakkan sftpgo
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0
web, patch
-
github.com
/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39220
advisory
-
github.com
/drakkan/sftpgo
package
Sources
- CVE List CVE-2022-39220
- GitHub Advisory GHSA-cf7g-cm7q-rq7f
- NVD CVE-2022-39220
- OSV GO-2022-1015
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.