Vulnerability · Published Sep 20, 2022 · Assigned by GitHub_M
CVE-2022-39220XSS Vulnerabilities in WebClient
Medium 6.1
In plain English
A medium-severity cross-site scripting in sftpgo from drakkan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/drakkan/sftpgo | 2.3.5 | GHSA-cf7g-cm7q-rq7f |
| Go | github.com/drakkan/sftpgo | no fix listed | GO-2022-1015 |
| Go | github.com/drakkan/sftpgo/v2 | 2.3.5 | GO-2022-1015 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-cf7g-cm7q-rq7f x_refsource_CONFIRM