First published: Fri Sep 14 2018(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Gogs Gogs | =0.11.53 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-17031 is a vulnerability in Gogs 0.11.53 that allows an attacker to trigger MIME type sniffing, leading to XSS.
The vulnerability in Gogs 0.11.53 allows an attacker to use a crafted .eml file to trigger MIME type sniffing, which can result in XSS.
The severity of CVE-2018-17031 is medium with a CVSS score of 6.1.
To fix the vulnerability in Gogs 0.11.53, you need to update to version 0.12.0 or newer.
You can find more information about CVE-2018-17031 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-17031), [GitHub Advisory](https://github.com/advisories/GHSA-px5r-fqj6-r2f8)