GHSA-px5r-fqj6-r2f8
Dashboard / Vulnerabilities / GHSA-px5r-fqj6-r2f8
GHSA-px5r-fqj6-r2f8
Published: 14 May 2022Last Modified: 20 Aug 2024
Aliases:
Summary: Gogs XSS Vulnerability
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: https://nvd.nist.gov/vuln/detail/CVE-2018-17031, https://github.com/gogs/gogs/issues/5397, https://github.com/gogs/gogs/pull/6008, https://github.com/gogs/gogs/commit/e14b6abf9dae13bc087c9d9db8fe7c7a5125c792, https://github.com/gogs/gogs
Affected packages
Package
Name: gogs.io/gogs
Purl: pkg:golang/gogs.io/gogs
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.12.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
