CWE
79
Advisory Published
Updated
Advisory Published

CVE-2018-17031: XSS

First published: Fri Sep 14 2018(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Gogs Gogs=0.11.53

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-17031?

    CVE-2018-17031 is a vulnerability in Gogs 0.11.53 that allows an attacker to trigger MIME type sniffing, leading to XSS.

  • How does the vulnerability in Gogs 0.11.53 work?

    The vulnerability in Gogs 0.11.53 allows an attacker to use a crafted .eml file to trigger MIME type sniffing, which can result in XSS.

  • What is the severity of CVE-2018-17031?

    The severity of CVE-2018-17031 is medium with a CVSS score of 6.1.

  • How can I fix the vulnerability in Gogs 0.11.53?

    To fix the vulnerability in Gogs 0.11.53, you need to update to version 0.12.0 or newer.

  • Where can I find more information about CVE-2018-17031?

    You can find more information about CVE-2018-17031 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-17031), [GitHub Advisory](https://github.com/advisories/GHSA-px5r-fqj6-r2f8)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203