What’s Vulnerable › Vulnerabilities
CVE-2026-49245: SFTPGo: Stored XSS via inline parameter on public shares and user file download
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-20 · updated 2026-10-18
- Weakness: CWE-79
Description
SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the inline query parameter on browsable-share file downloads and authenticated user-file downloads suppresses Content-Disposition: attachment, allowing an attacker-controlled HTML file stored in a share or home directory to be served as text/html in the SFTPGo web origin. An attacker who can place the file can send a crafted link to a victim, and opening that link executes the stored content in the victim's browser context. Exploitation requires social engineering and suitable share or shared-folder access, while HttpOnly session cookies limit direct cookie theft. This issue is fixed in version 2.7.3.
Affected products
- drakkan sftpgo: from 2.2.0 < 2.7.2
References
- https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15
- https://github.com/drakkan/sftpgo/releases/tag/v2.7.3
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54
Get alerted when CVE-2026-49245 or the next vulnerability affects your stack