CVE-2018-17031: Gogs

Medium severity, CVSS 6.1. EPSS: 0.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Gogs Gogs: version 0.11.53 only

Published 2018-09-14. Last modified 2026-06-17.