In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not sent.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-4849 In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not sent.
Github GHSA Github GHSA GHSA-px5r-fqj6-r2f8 Gogs XSS Vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T10:39:59.632Z

Reserved: 2018-09-13T00:00:00

Link: CVE-2018-17031

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-09-14T02:29:00.390

Modified: 2024-11-21T03:53:44.420

Link: CVE-2018-17031

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses