{"id":"CVE-2022-39220","summary":"XSS Vulnerabilities in WebClient","details":"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.","aliases":["GHSA-cf7g-cm7q-rq7f","GO-2022-1015"],"modified":"2026-08-12T03:51:46.840576315Z","published":"2022-09-20T22:10:08Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39220.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39220.json"},{"type":"ADVISORY","url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39220"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/drakkan/sftpgo","events":[{"introduced":"0"},{"fixed":"b65fc0bdc2431e64c3203637bf7389e1295ccb7a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.3.5"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*"}}],"versions":["v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.0","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39220.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}