Skip to content
OpenAdvisories

Package · Go

code.gitea.io/gitea

123 known vulnerabilities.

123 results · Feed

  • Critical 9.1

    Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure

    Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

  • Medium 4.3

    Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)

    Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface. A user with read access to pull requests may be able to cancel auto-merges scheduled by other users.

  • Critical 9.1

    Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)

    Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.

  • Medium 6.5

    Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes

    Gitea does not properly validate ownership when toggling OpenID URI visibility. An authenticated user may be able to change the visibility settings of other users' OpenID identities.

  • Medium 6.5

    Notification API Leaks Private Repository Issue Titles After Collaborator Permission Revocation

    Gitea's notification API does not re-validate repository access permissions when returning notification details. After a user's access to a private repository is revoked, they may still view issue and pull request titles through previously received notificati…

  • Medium 6.5

    Gitea Stopwatch API Missing Authorization Check Leads to Post-Revocation Information Disclosure

    Gitea's stopwatch API does not re-validate repository access permissions. After a user's access to a private repository is revoked, they may still view issue titles and repository names through previously started stopwatches.

  • Low 3.5

    Gitea Release Email Notifications Leak Private Repository Release Details After Access Revocation

    Gitea may send release notification emails for private repositories to users whose access has been revoked. When a repository is changed from public to private, users who previously watched the repository may continue to receive release notifications, potenti…

  • High 7.5

    Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check

    Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they…

  • Critical 9.1

    Gitea Organization Projects Cross-Organization Authorization Bypass via Project ID (IDOR)

    Gitea does not properly validate project ownership in organization project operations. A user with project write access in one organization may be able to modify projects belonging to a different organization.

  • Medium 5.3

    Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists

    In Gitea before 1.25.2, /api/v1/user has different responses for failed authentication depending on whether a username exists.

  • Medium 5.4

    Gitea vulnerable to Cross-site Scripting

    In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.

  • Medium 5.8

    Gitea: anonymous user can visit private user's project

    In Gitea before 1.21.2, an anonymous user can visit a private user's project.

  • Medium 5.0

    Gitea sometimes mishandles propagation of token scope for access control within one of its own package registries

    Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.

  • Medium 5.3

    Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order

    Gitea before 1.21.8 inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order.

  • Medium 5.4

    Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text

    Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

  • Medium 4.9

    Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources

    Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

  • Low 3.1

    Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.

    In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.

  • High 8.2

    Gitea allows attackers to add attachments with forbidden file extensions

    Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.

  • Medium 4.3

    Gitea mishandles authorization for deletion of releases

    Gitea before 1.25.2 mishandles authorization for deletion of releases.

  • Critical 10.0
    CVE-2024-6886 Scanner template EPSS 33%

    Inproper Sanitation of field leading to stored XSS

    Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.

  • Medium 6.5

    Gitea erroneous repo clones

    In Gitea through 1.17.1, repo cloning can occur in the migration function.

  • Low 3.0

    Open Redirect in go-gitea/gitea

    Open Redirect in GitHub repository go-gitea/gitea prior to 1.19.4.

  • Critical 9.8

    Gitea vulnerable to Argument Injection

    Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.

  • Medium 6.5

    Gitea allowed assignment of private issues

    In Gitea before 1.16.9, it was possible for users to add existing issues to projects. Due to improper access controls, an attacker could assign any issue to any project in Gitea (there was no permission check for fetching the issue). As a result, the attacker…

  • Medium 4.4

    Cross-site Scripting (XSS) - Stored in go-gitea/gitea

    Cross-site Scripting (XSS) - Stored in GitHub repository go-gitea/gitea prior to 1.16.9.

  • High 7.5
    CVE-2022-30781 Public exploit EPSS 88%

    Shell command injection in gitea

    Gitea before 1.16.7 does not escape git fetch remote.

  • High 7.5

    Arbitrary file deletion in gitea

    An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.

  • High 7.2
    CVE-2022-1058 Scanner template EPSS 53%

    Open Redirect on login in go-gitea/gitea

    Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.

  • Medium 5.3

    Path Traversal in Gitea

    The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.

  • Medium 6.5

    Missing Authorization in go-gitea/gitea

    Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4.

  • Critical 9.8

    Reuse of one time passwords allowed in Gitea

    An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.

  • Critical 9.8

    Improper Privilege Management in Gitea

    An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.

  • Critical 9.8

    Capture-replay in Gitea

    Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.

  • Low 3.7
    CVE-2021-28378 Public exploit

    Cross-site Scripting in Gitea

    Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.

  • High 7.0

    Buffer Overflow in gitea

    Stack buffer overflow vulnerability in gitea 1.9.0 through 1.13.1 allows remote attackers to cause a denial of service (crash) via vectors related to a file path.

  • High 7.2
    CVE-2020-14144 Public exploit Scanner template EPSS 95%

    Arbitrary Code Execution in Gitea

    The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer environments where the documentation was not understood (e.g., one viewpoint is that the dangerousness of this feature should be documented imme…

  • High 7.5

    Denial of Service in Gitea

    An issue was discovered in Gitea through 1.11.5. An attacker can trigger a deadlock by initiating a transfer of a repository's ownership from one organization to another.

  • Medium 6.1

    Gitea XSS Vulnerability

    Gitea 1.7.0 and earlier is affected by: Cross Site Scripting (XSS). The impact is: Attacker is able to have victim execute arbitrary JS in browser. The component is: go-get URL generation - PR to fix: https://github.com/go-gitea/gitea/pull/5905. The attack ve…

  • Medium 6.1

    Gitea XSS Vulnerability in Repository Description

    Gitea 1.7.2, 1.7.3 is affected by: Cross Site Scripting (XSS). The impact is: execute JavaScript in victim's browser, when the vulnerable repo page is loaded. The component is: repository's description. The attack vector is: victim must navigate to public and…

  • Critical 9.8

    Gitea Allows 1FA Even for 2FA-Enrolled Accounts

    Gitea before 1.8.0 allows 1FA for user accounts that have completed 2FA enrollment. If a user's credentials are known, then an attacker could send them to the API without requiring the 2FA one-time password.