CVE-2018-17031Cross-site Scripting in Gogs

Severity
6.1MEDIUMNVD
EPSS
0.2%
top 52.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 14
Latest updateAug 20

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7

Affected Packages2 packages

Gogogs.io/gogs< 0.12.0
NVDgogs/gogs0.11.53

🔴Vulnerability Details

3
OSV
Gogs XSS Vulnerability in gogs.io/gogs2024-08-20
GHSA
Gogs XSS Vulnerability2022-05-14
OSV
Gogs XSS Vulnerability2022-05-14