{"id":"CVE-2018-17031","aliases":["GHSA-px5r-fqj6-r2f8","GO-2023-1972"],"url":"https://o3.security/vulnerability/CVE-2018-17031","summary":"Gogs XSS Vulnerability","details":"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.","published":"2018-09-14T02:29:00.390Z","modified":"2026-08-07T14:58:38.068811Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.01112,"percentile":0.62983,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.12.0"}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://github.com/gogs/gogs/issues/5397"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T14:58:38.068811Z"}}