cve.bz

CVE-2018-17031

6.1 mediumEPSS 0.9%

Medium (6.1) in gogs gogs. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in gogs.io/gogs 0.12.0.

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.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.9% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-px5r-fqj6-r2f8Gogogs.io/gogs<0.12.00.12.0
GO-2023-1972Gogogs.io/gogs<0.12.00.12.0

References

Check your stackJSON