Skip to content

Vendor

gogs vulnerabilities

75 published CVES affecting gogs, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).

Total
75
Critical
17
High
28
Medium
29
Low
1
Unscored
0
CISA KEV
1
Atom feed of gogs alerts

Products

Latest gogs CVEs

Newest publication first · page 3 of 3

  1. CriticalCVSS 9.9 EPSS 7.7% Public exploit

    The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious --split-string env request if the built-in SSH server i...

  2. CVE-2022-32174 Gogs - XSS

    Published
    CriticalCVSS 9.0 EPSS 58.2%

    In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.

  3. MediumCVSS 5.4 EPSS 0.74%

    Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 DisplayName does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which saniti...

  4. HighCVSS 8.8 EPSS 2.2%

    Missing input validation in internal/db/repo_editor.go in Gogs before 0.12.8 allows an attacker to execute code remotely. An unprivileged attacker (registered user) can overwrite the Git configuration in his repository. This leads to Remote Command Execution, because that configu...

  5. MediumCVSS 5.4 EPSS 0.72%

    Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .

  6. HighCVSS 7.2 EPSS 87.4% Framework module Scanner template

    The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the documentat...

  7. HighCVSS 7.5 EPSS 3.3%

    In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.

  8. CriticalCVSS 9.8 EPSS 31.1% Scanner template

    Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

  9. MediumCVSS 6.1 EPSS 0.87%

    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.

  10. CVE-2018-15178 Open Redirect

    Published
    MediumCVSS 6.1 EPSS 1.3%

    Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\ substring in the user/login redirect_to parameter, related to the function isValidRedirect in routes/user/auth.go.

Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.