# CVE-2022-39220: XSS Vulnerabilities in WebClient

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 49% of CVEs (2026-11-30)
- Published: 2022-09-20T21:22:55.000Z
- Modified: 2026-06-17T04:57:56.560Z
- Also known as: GHSA-cf7g-cm7q-rq7f, GO-2022-1015
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- drakkan sftpgo: < 2.3.5
- github.com/drakkan/sftpgo (Go): before 2.3.5; all versions
- github.com/drakkan/sftpgo/v2 (Go): before 2.3.5
- sftpgo_project sftpgo: before 2.3.5

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39220> (advisory)
- <https://github.com/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0> (fix, web)
- <https://github.com/drakkan/sftpgo> (package)

## Sources

- CVE List: [CVE-2022-39220](https://www.cve.org/CVERecord?id=CVE-2022-39220), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-cf7g-cm7q-rq7f](https://github.com/advisories/GHSA-cf7g-cm7q-rq7f), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1015](https://pkg.go.dev/vuln/GO-2022-1015), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-39220](https://nvd.nist.gov/vuln/detail/CVE-2022-39220), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39220 · Whole record: https://cve.day/CVE-2022-39220.json · Rebuilt by cve.day 2026-11-25T22:58:15.158Z
