Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2022-30781

CVE-2022-30781: Improper Encoding or Escaping of Output

May 17, 2022 (updated May 25, 2022)

Gitea before 1.16.7 does not escape git fetch remote.

References

  • blog.gitea.io/2022/05/gitea-1.16.7-is-released/
  • github.com/advisories/GHSA-p5f9-c9j9-g8qx
  • github.com/go-gitea/gitea/pull/19487
  • github.com/go-gitea/gitea/pull/19490
  • nvd.nist.gov/vuln/detail/CVE-2022-30781

Code Behaviors & Features

Detect and mitigate CVE-2022-30781 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16.7

Fixed versions

  • 1.16.7

Solution

Upgrade to version 1.16.7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

go/code.gitea.io/gitea/CVE-2022-30781.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.