XSS in Gogs

CVE-2018-17031

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.009 (57.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 57.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-17031: held from 0.009 to 0.009.

EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000

Affected products

  • Gogs — versions 0.11.53

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-17031?
CVE-2018-17031 is a medium-severity vulnerability in Gogs, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-09-14.
How severe is CVE-2018-17031?
Medium severity. CVSS v3 base score is 6.1 out of 10.