Skip to content

CVE-2018-17031 Gogs XSS Vulnerability

MediumCVSS 6.1 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
gogs.io/gogs(Go) < 0.12.0; <= 0.11.53 0.12.0 Fixed
gogs = 0.11.53 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gogs.io/gogs(Go) <= 0.11.53 No fix listed
gogs.io/gogs(Go) < 0.12.0 0.12.0
gogs = 0.11.53 No fix listed

References