{"cve":"CVE-2022-39220","nvd":{"published":"2022-09-20T22:15:10.177","modified":"2026-06-17T04:57:56.560","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f","https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f"],"products":["sftpgo_project:sftpgo"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-39220","score":0.00637,"percentile":0.5055,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cf7g-cm7q-rq7f","url":"https://osv.dev/vulnerability/GHSA-cf7g-cm7q-rq7f","summary":"SFTPGo WebClient vulnerable to Cross-site Scripting","modified":"2024-08-21T16:28:58.169040Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":["<2.3.5"],"fixed":["2.3.5"]}]},{"id":"GO-2022-1015","url":"https://osv.dev/vulnerability/GO-2022-1015","summary":"SFTPGo WebClient vulnerable to Cross-site Scripting in github.com/drakkan/sftpgo","modified":"2026-03-03T04:52:36.236970Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":["<2.3.5"],"fixed":["2.3.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}