GHSA-px5r-fqj6-r2f8

    Dashboard / Vulnerabilities / GHSA-px5r-fqj6-r2f8

    GHSA-px5r-fqj6-r2f8

    Published: 14 May 2022Last Modified: 20 Aug 2024

    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.

    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
    GHSA-px5r-fqj6-r2f8 | CVE-DB