Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-49245 EUVD-2026-63709GHSA-3vcg-pv95-pq54GO-2026-5900

SFTPGo: Stored XSS via inline parameter on public shares and user file download

Published Aug 20, 2026 · Updated Aug 21, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
drakkan sftpgo >= 2.2.0 < 2.7.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/drakkan/sftpgo all versions — GO-2026-5900
Go github.com/drakkan/sftpgo/v2 >= 2.2.0, < 2.7.3 2.7.3 GHSA-3vcg-pv95-pq54

Advisories 1

References