MEDIUM
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
Published Sep 14, 2018
6.1
MEDIUMCVSS 3.0
EPSS 0.87%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
6.1 MEDIUM NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
4.3 MEDIUM NVD
AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
0.87% 0.00869
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.00869
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.87% (0.00869) | 57.30th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.87% (0.00869) | 57.23th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.07% (0.00066) | 29.74th | v3 (v2023.03.01) |
| Jul 17, 2024 | 0.07% (0.00066) | 29.75th | v3 (v2023.03.01) |
| May 3, 2024 | 0.07% (0.00065) | 27.73th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.07% (0.00072) | 29.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00087) | 35.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.42% (0.00416) | 10.04th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
Weaknesses (1)
References (5)
- https://github.com/advisories/GHSA-px5r-fqj6-r2f8 Advisory
- https://github.com/gogs/gogs/commit/e14b6abf9dae13bc087c9d9db8fe7c7a5125c792
- https://github.com/gogs/gogs/issues/5397 x_refsource_MISCExploitThird Party Advisory
- https://github.com/gogs/gogs/pull/6008
- https://nvd.nist.gov/vuln/detail/CVE-2018-17031
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-px5r-fqj6-r2f8 | Advisory | |
| https://github.com/gogs/gogs/commit/e14b6abf9dae13bc087c9d9db8fe7c7a5125c792 | ||
| https://github.com/gogs/gogs/issues/5397 | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/gogs/gogs/pull/6008 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-17031 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Sep 14, 2018
Updated Aug 5, 2024
Reserved Sep 13, 2018
Link CVE-2018-17031
CISA Vulnrichment
GHSA-PX5R-FQJ6-R2F8 Updated n/a