{"id":"CVE-2022-39220","published":"2022-09-20T22:10:08Z","modified":"2025-04-23T16:56:53Z","title":"XSS Vulnerabilities in WebClient","vendor":"drakkan","product":"sftpgo","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.5214,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"drakkan","affectedVersions":[{"vendor":"drakkan","product":"sftpgo","versions":["< 2.3.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:57:24.488697Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/drakkan/sftpgo","vulnerableRanges":["<2.3.5","all versions"],"patched":["2.3.5"],"from":["GHSA-cf7g-cm7q-rq7f","GO-2022-1015"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","vulnerableRanges":["<2.3.5"],"patched":["2.3.5"],"from":["GO-2022-1015"],"provenance":"source"}],"summary":{"text":"Cross-site scripting vulnerabilities exist in the WebClient component of SFTPGo, an SFTP server written in Go, in versions prior to 2.3.5. An attacker who can reach the WebClient over the network and get a user to interact with a crafted page or link can inject malicious script that runs in the victim's browser session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:53Z"},"euvd":{"id":"EUVD-2022-6779","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-36071","published":"2022-09-02","fixed":"2.3.4","kev":false,"link":{"from":"CVE-2022-36071","to":"CVE-2022-39220","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/drakkan/sftpgo/v2","fromFixed":"2.3.4","toFixed":"2.3.5","daysApart":18}]}},{"cve":"CVE-2022-39220","published":"2022-09-20","fixed":"2.3.5","kev":false},{"cve":"CVE-2024-37897","published":"2024-06-20","fixed":"2.6.1","kev":false,"link":{"from":"CVE-2022-39220","to":"CVE-2024-37897","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/drakkan/sftpgo/v2","fromFixed":"2.3.5","toFixed":"2.6.1","daysApart":639}]}},{"cve":"CVE-2024-52309","published":"2024-11-21","fixed":"2.6.3","kev":false},{"cve":"CVE-2024-52801","published":"2024-11-29","fixed":"2.6.4","kev":false}],"package":"Go:github.com/drakkan/sftpgo/v2"}}