Vulnerability advisory
GHSA-px5r-fqj6-r2f8
Gogs XSS Vulnerability
Also known as CVE-2018-17031GO-2023-1972
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 0.12.0 | 0.12.0 |
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.