{"id":"CVE-2022-39220","aliases":["EUVD-2022-6779","GHSA-cf7g-cm7q-rq7f","GO-2022-1015"],"status":"published","title":"XSS Vulnerabilities in WebClient","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00637,"percentile":0.50883,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-09-20T21:22:55Z","modified":"2026-10-28T02:30:43Z","fixes":[{"ecosystem":"Go","package":"github.com/drakkan/sftpgo","fixed_in":["2.3.5"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","fixed_in":["2.3.5"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/drakkan/sftpgo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.5"}]}]}],"products":[{"vendor":"drakkan","product":"sftpgo"},{"vendor":"sftpgo_project","product":"sftpgo"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0","tags":["web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39220","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cf7g-cm7q-rq7f"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39220.json","tags":["advisory"]},{"url":"https://github.com/drakkan/sftpgo","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-39220","title":"XSS Vulnerabilities in WebClient","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.","status":"published","published":"2022-09-20T22:10:08Z","modified":"2025-04-23T16:56:53.287Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:39.233406Z"}],"euvd":[{"id":"EUVD-2022-6779","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.","status":"published","published":"2022-09-20T22:10:08Z","modified":"2025-04-23T16:56:53Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:11.440801Z"}],"ghsa":[{"id":"GHSA-cf7g-cm7q-rq7f","title":"SFTPGo WebClient vulnerable to Cross-site Scripting","description":"### Impact\nCross-site scripting (XSS) vulnerabilities have been reported to affect SFTPGo WebClient. If exploited, this vulnerability allows remote attackers to inject malicious code.\n\n### Patches\nFixed in v2.3.5.\n","status":"published","published":"2022-09-20T21:22:55Z","modified":"2023-01-31T05:04:13Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:29.957996Z"}],"nvd":[{"id":"CVE-2022-39220","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.","status":"published","published":"2022-09-20T22:15:10.177Z","modified":"2026-06-17T04:57:56.56Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:28.501364Z"}],"osv":[{"id":"CVE-2022-39220","title":"XSS Vulnerabilities in WebClient","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.","status":"published","published":"2022-09-20T22:10:08Z","modified":"2026-10-28T02:30:43.274776757Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"GHSA-cf7g-cm7q-rq7f","title":"SFTPGo WebClient vulnerable to Cross-site Scripting","description":"### Impact\nCross-site scripting (XSS) vulnerabilities have been reported to affect SFTPGo WebClient. If exploited, this vulnerability allows remote attackers to inject malicious code.\n\n### Patches\nFixed in v2.3.5.\n","status":"published","published":"2022-09-20T21:22:55Z","modified":"2024-08-21T16:28:58.16904Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"GO-2022-1015","title":"SFTPGo WebClient vulnerable to Cross-site Scripting in github.com/drakkan/sftpgo","description":"SFTPGo WebClient vulnerable to Cross-site Scripting in github.com/drakkan/sftpgo","status":"published","published":"2024-08-21T16:03:24Z","modified":"2026-03-03T04:52:36.23697Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
