{"cve":"CVE-2026-49245","nvd":{"published":"2026-08-20T22:17:20.107","modified":"2026-10-18T20:10:00.110","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7},"cwes":["CWE-79"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-49245","score":0.00252,"percentile":0.16562,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3vcg-pv95-pq54","url":"https://osv.dev/vulnerability/GHSA-3vcg-pv95-pq54","summary":"SFTPGo has stored XSS via inline parameter on public shares and user file download","modified":"2026-07-07T16:11:31.641440493Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":[">=2.2.0 <2.7.3"],"fixed":["2.7.3"]}]},{"id":"GO-2026-5900","url":"https://osv.dev/vulnerability/GO-2026-5900","summary":"SFTPGo has stored XSS via inline parameter on public shares and user file download in github.com/drakkan/sftpgo","modified":"2026-07-07T16:00:24.163069685Z","packages":[{"ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":[">=2.2.0 <2.7.3"],"fixed":["2.7.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}