Skip to content
Heist/ feed
Back to feed
Medium

XSS Vulnerabilities in WebClient

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39220
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:47 UTC · Revision 1

Source evidence

XSS Vulnerabilities in WebClient

core-osv · Original source

Published 20 Sept 2022, 22:10 UTC

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.

osv:CVE-2022-39220
Complete source record
{
  "id": "bf5bff936bb570bc26bb5b3410232c103134d435453004eafa937a44400e94e6",
  "url": "https://osv.dev/vulnerability/CVE-2022-39220",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2022-39220",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-39220",
      "aliases": [
        "CVE-2022-39220",
        "GHSA-cf7g-cm7q-rq7f",
        "GO-2022-1015"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drakkan/sftpgo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b65fc0bdc2431e64c3203637bf7389e1295ccb7a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.274776757Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39220.json",
        "https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39220"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39220.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39220",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510826,
  "published_at": "2022-09-20T22:10:08+00:00"
}