V2: SFTPGo has stored XSS via inline parameter on public shares and user file download (CVE-2026-49245)
SFTPGo versions 2.2.0 through before 2.7.3 contain a stored cross-site scripting (XSS) vulnerability via an inline query parameter on public shares and authenticated user file downloads. This flaw allows an attacker to serve an HTML file as active content in SFTPGo's web origin by suppressing the Content-Disposition: attachment header. Exploitation requires the attacker to place a crafted file and convince a victim to open a malicious link, which is not generated by the WebClient, making social engineering necessary. The vulnerability is rated low severity due to constrained exploitation conditions and HttpOnly session cookies preventing cookie theft. The issue is fixed in version 2.7.3 by removing the inline parameter and enforcing Content-Disposition: attachment on these endpoints.
V2: SFTPGo has stored XSS via inline parameter on public shares and user file download (CVE-2026-49245)
Description
SFTPGo versions 2.2.0 through before 2.7.3 contain a stored cross-site scripting (XSS) vulnerability via an inline query parameter on public shares and authenticated user file downloads. This flaw allows an attacker to serve an HTML file as active content in SFTPGo's web origin by suppressing the Content-Disposition: attachment header. Exploitation requires the attacker to place a crafted file and convince a victim to open a malicious link, which is not generated by the WebClient, making social engineering necessary. The vulnerability is rated low severity due to constrained exploitation conditions and HttpOnly session cookies preventing cookie theft. The issue is fixed in version 2.7.3 by removing the inline parameter and enforcing Content-Disposition: attachment on these endpoints.
CVSS v3.1
Score 3.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3vcg-pv95-pq54
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-49245"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a46ecbb27e9c7971943cde5
Added to database: 07/02/2026, 22:56:59 UTC
Last enriched: 08/21/2026, 11:08:19 UTC
Last updated: 09/14/2026, 04:50:04 UTC
Views: 136
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.