Skip to main content
← All vulnerabilities
CVE-2018-17031GO-2023-1972GHSA-PX5R-FQJ6-R2F8

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 Expl

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • gogs.io/gogsGo

    fixed in 0.12.0

References 1

GitHub · gogs/gogs