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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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 Sun, 08 Nov 2026 00:17:07 +0000.