Skip to content
OpenAdvisories
Medium · 6.1 CVE-2018-17031 EUVD-2022-4849GHSA-px5r-fqj6-r2f8GO-2023-1972

Gogs XSS Vulnerability

Published Sep 14, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.12.0 0.12.0 GHSA-px5r-fqj6-r2f8

References