Vulnerabilities · 2018 · Gogs
CVE-2018-17031
Gogs vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gogs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Gogs products
CVE-2026-26276CVE-2026-26196CVE-2025-8110CVE-2024-56731CVE-2024-55947CVE-2024-54148CVE-2024-44625CVE-2024-39933All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.