CVE-2026-49245: SFTPGo - Stored XSS
- Cve: CVE-2026-49245
- Name: SFTPGo - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in victim's browser, potentially leading to session hijacking or other client-side attacks.
- Remediation: Update to version 2.7.3 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to place a crafted file and use social engineering to lure victim
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.7
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- Epss score: 0.00252
- Epss percentile: 0.16845
- Assignee: [email protected]
- Published at: 2026-08-20T22:17:20Z
- Age in days: 96
- Modified at: 2026-10-18T20:10:00Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49245
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| drakkan/sftpgo | commit, fix, package, releases, security_advisory | yes | /v1/repositories/drakkan/sftpgo |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts