All reports
Medium

Gogs XSS Vulnerability

Affected versions

Version ranges need review.

Affected versions
<= 0.11.53
Fixed version
0.12.0
Affected versions
<0.12.0
Fixed version
0.12.0

Exploitation

CVE-2018-17031

Probability of exploitation in the next 30 days: 0.87%

FIRST EPSS · 2026-11-23

Description

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.

Links