{"id":"CVE-2022-39220","aliases":["CVE-2022-39220","GHSA-cf7g-cm7q-rq7f","GO-2022-1015"],"related":[],"kind":"vulnerability","state":"published","title":"XSS Vulnerabilities in WebClient","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"SFTPGo WebClient vulnerable to Cross-site Scripting in github.com/drakkan/sftpgo","format":"markdown","source":"go"},{"lang":"es","text":"SFTPGo es un servidor SFTP escrito en Go. Las versiones anteriores a 2.3.5, están sujetas a vulnerabilidades de tipo Cross-site scripting (XSS) en el SFTPGo WebClient, lo que permite a atacantes remotos inyectar código malicioso. Este problema ha sido corregido en versión 2.3.5. No se presentan mitigaciones conocidas","source":"nvd"}],"published":"2022-09-20T21:22:55.000Z","modified":"2026-06-17T04:57:56.560Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.3.5","status":"affected"}],"vendor":"drakkan","product":"sftpgo","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.5"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.5"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.3.5"}],"vendor":"sftpgo_project","product":"sftpgo","cpe":"cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39220","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/drakkan/sftpgo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:57:24.488Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39220","url":"https://www.cve.org/CVERecord?id=CVE-2022-39220","licence":"CVE Terms of Use","modified":"2025-04-23T16:56:53.287Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cf7g-cm7q-rq7f","url":"https://github.com/advisories/GHSA-cf7g-cm7q-rq7f","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:58.169Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1015","url":"https://pkg.go.dev/vuln/GO-2022-1015","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:36.236Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39220","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39220","licence":"Public domain","modified":"2026-06-17T04:57:56.560Z"}],"updatedAt":"2026-11-25T22:58:15.158Z","epss":{"score":0.00698,"percentile":0.48587,"date":"2026-11-30T12:00:22.000Z"}}