Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/drakkan/sftpgo
  4. ›
  5. CVE-2022-39220

CVE-2022-39220: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

September 20, 2022 (updated September 22, 2022)

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.

References

  • github.com/advisories/GHSA-cf7g-cm7q-rq7f
  • github.com/drakkan/sftpgo/commit/cbef217cfa92478ee8e00ba1a5fb074f8a8aeee0
  • github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f
  • nvd.nist.gov/vuln/detail/CVE-2022-39220

Code Behaviors & Features

Detect and mitigate CVE-2022-39220 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.5

Fixed versions

  • v2.3.5

Solution

Upgrade to version 2.3.5 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/drakkan/sftpgo/CVE-2022-39220.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.