{"id":"CVE-2026-49245","state":"PUBLISHED","title":"SFTPGo: Stored XSS via inline parameter on public shares and user file download","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.","publishedAt":"2026-08-20T21:52:20.219Z","updatedAt":"2026-08-21T15:35:53.045Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["drakkan sftpgo"],"affected":[{"vendor":"drakkan","product":"sftpgo","versions":[{"version":">= 2.2.0 < 2.7.2","status":"affected"}]}],"references":["https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54","https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15","https://github.com/drakkan/sftpgo/releases/tag/v2.7.3"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49245.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49245","state":"PUBLISHED","datePublished":"2026-08-20T21:52:20.219Z","dateUpdated":"2026-08-21T15:35:53.045Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-28T14:33:01.178Z"},"containers":{"cna":{"title":"SFTPGo: Stored XSS via inline parameter on public shares and user file download","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"drakkan","product":"sftpgo","versions":[{"version":">= 2.2.0 < 2.7.2","status":"affected"}]}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54","name":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15","name":"https://github.com/drakkan/sftpgo/commit/b5409a478138fca5f1d369ae5d47f753156cbd15","tags":["x_refsource_MISC"]},{"url":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","name":"https://github.com/drakkan/sftpgo/releases/tag/v2.7.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T21:52:20.219Z"},"source":{"advisory":"GHSA-3vcg-pv95-pq54","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T15:35:39.407005Z","id":"CVE-2026-49245","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-21T15:35:53.045Z"}}]}}}