ADVISORIES

Vulnerability

CVE-2018-17031

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity Go 2

Advisories

  • GHSA-px5r-fqj6-r2f8

    Gogs XSS Vulnerability

    Moderate CVE-2018-17031 Go Updated 20 August 2024
  • GO-2023-1972

    Gogs XSS Vulnerability in gogs.io/gogs

    CVE-2018-17031 Go Updated 3 March 2026

References