{"id":"CVE-2026-49245","published":"2026-08-20T21:52:20Z","modified":"2026-08-21T15:35:53Z","title":"SFTPGo: Stored XSS via inline parameter on public shares and user file download","vendor":"drakkan","product":"sftpgo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00252,"percentile":0.17062,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15","tags":["x_refsource_MISC"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":3.41},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"drakkan","affectedVersions":[{"vendor":"drakkan","product":"sftpgo","versions":[">= 2.2.0 < 2.7.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T15:35:39.407005Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","vulnerableRanges":[">=2.2.0, <2.7.3"],"patched":["2.7.3"],"from":["GHSA-3vcg-pv95-pq54","GO-2026-5900"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/drakkan/sftpgo","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5900"],"provenance":"source"}],"summary":{"text":"SFTPGo's web interface contains a stored cross-site scripting flaw in its file download handling for browsable public shares and authenticated user files, where the inline query parameter overrides the attachment disposition. An attacker who can place a crafted HTML file in a share or home directory and convince a user to open a link to it, which requires network access, low privileges to the share, and user interaction, can get that content executed in the victim's browser within the SFTPGo web origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:39Z"},"euvd":{"id":"EUVD-2026-63709","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-drakkan-sftpgo-cve-2024-37897","parents":[{"from":"CVE-2024-37897","to":"CVE-2026-49245","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/httpd/api_http_user.go","internal/httpd/api_utils.go"],"commits":["https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423","https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583","https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15"],"basis":"rarely changed file"}]},{"from":"CVE-2026-49244","to":"CVE-2026-49245","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/httpd/api_utils.go"],"commits":["https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f","https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-30914","published":"2026-03-13","fixed":"2.7.1","kev":false,"link":{"from":"CVE-2026-30914","to":"CVE-2026-49245","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/drakkan/sftpgo/v2","fromFixed":"2.7.1","toFixed":"2.7.3","daysApart":160}]}},{"cve":"CVE-2026-30915","published":"2026-03-13","fixed":"2.7.1","kev":false},{"cve":"CVE-2026-49244","published":"2026-08-20","fixed":"2.7.3","kev":false},{"cve":"CVE-2026-49245","published":"2026-08-20","fixed":"2.7.3","kev":false},{"cve":"CVE-2026-77375","published":"2026-10-13","fixed":"2.7.5","kev":false,"link":{"from":"CVE-2026-49245","to":"CVE-2026-77375","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/drakkan/sftpgo/v2","fromFixed":"2.7.3","toFixed":"2.7.5","daysApart":54}]}},{"cve":"CVE-2026-103028","published":"2026-10-13","fixed":"2.7.6","kev":false}],"package":"Go:github.com/drakkan/sftpgo/v2"}}