CVE-2018-17031

Source
https://cve.org/CVERecord?id=CVE-2018-17031
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17031.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-17031
Aliases
Published
2018-09-14T02:29:00.390Z
Modified
2026-07-08T15:09:40.887942Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gogs/gogs

Affected ranges

Type
GIT
Repo
https://github.com/gogs/gogs
Events
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "0.11.53"
        },
        {
            "last_affected": "0.11.53"
        }
    ],
    "cpe": "cpe:2.3:a:gogs:gogs:0.11.53:*:*:*:*:*:*:*"
}

Affected versions

0.*
0.11.53
v0.*
v0.11.53

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17031.json"