# CVE-2026-49245: SFTPGo: Stored XSS via inline parameter on public shares and user file download

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-07-02T19:09:30.000Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-3vcg-pv95-pq54, GO-2026-5900
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- drakkan sftpgo: >= 2.2.0 < 2.7.2
- github.com/drakkan/sftpgo/v2 (Go): from 2.2.0 before 2.7.3
- github.com/drakkan/sftpgo (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54> (advisory, web)
- <https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15>
- <https://github.com/drakkan/sftpgo/releases/tag/v2.7.3>
- <https://github.com/drakkan/sftpgo> (package)

## Sources

- CVE List: [CVE-2026-49245](https://www.cve.org/CVERecord?id=CVE-2026-49245), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-3vcg-pv95-pq54](https://github.com/advisories/GHSA-3vcg-pv95-pq54), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5900](https://pkg.go.dev/vuln/GO-2026-5900), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-49245](https://nvd.nist.gov/vuln/detail/CVE-2026-49245), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-49245 · Whole record: https://cve.day/CVE-2026-49245.json · Rebuilt by cve.day 2026-11-25T22:59:34.734Z
