Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/drakkan/sftpgo/v2
  4. ›
  5. CVE-2026-49245

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

July 2, 2026

The inline query parameter on the browsable-share file download and on the authenticated user file download suppressed Content-Disposition: attachment, so an HTML file stored in a share or home directory could be served as text/html and execute in SFTPGo’s web origin (stored XSS).

References

  • github.com/advisories/GHSA-3vcg-pv95-pq54
  • github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54
  • nvd.nist.gov/vuln/detail/CVE-2026-49245

Code Behaviors & Features

Detect and mitigate CVE-2026-49245 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.2.0 before 2.7.3

Fixed versions

  • 2.7.3

Solution

Upgrade to version 2.7.3 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/drakkan/sftpgo/v2/CVE-2026-49245.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:18 +0000.