cve/2018/CVE-2018-17031.md

18 lines
673 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-17031](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17031)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/gogs/gogs/issues/5397
#### Github
No PoCs found on GitHub currently.